Interface KeyBlockHeaders.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyBlockHeaders.Builder,
,KeyBlockHeaders> SdkBuilder<KeyBlockHeaders.Builder,
,KeyBlockHeaders> SdkPojo
- Enclosing class:
KeyBlockHeaders
-
Method Summary
Modifier and TypeMethodDescriptionkeyExportability
(String keyExportability) Specifies subsequent exportability of the key within the key block after it is received by the receiving party.keyExportability
(KeyExportability keyExportability) Specifies subsequent exportability of the key within the key block after it is received by the receiving party.default KeyBlockHeaders.Builder
keyModesOfUse
(Consumer<KeyModesOfUse.Builder> keyModesOfUse) Sets the value of the KeyModesOfUse property for this object.keyModesOfUse
(KeyModesOfUse keyModesOfUse) Sets the value of the KeyModesOfUse property for this object.keyVersion
(String keyVersion) Parameter used to indicate the version of the key carried in the key block or indicate the value carried in the key block is a component of a key.optionalBlocks
(Map<String, String> optionalBlocks) Parameter used to indicate the type of optional data in key block headers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
keyModesOfUse
Sets the value of the KeyModesOfUse property for this object.- Parameters:
keyModesOfUse
- The new value for the KeyModesOfUse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyModesOfUse
Sets the value of the KeyModesOfUse property for this object. This is a convenience method that creates an instance of theKeyModesOfUse.Builder
avoiding the need to create one manually viaKeyModesOfUse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyModesOfUse(KeyModesOfUse)
.- Parameters:
keyModesOfUse
- a consumer that will call methods onKeyModesOfUse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyExportability
Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.
When set to
EXPORTABLE
, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set toNON_EXPORTABLE
, the key cannot be subsequently exported by the receiver. When set toSENSITIVE
, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to ANSI X9.143-2022.- Parameters:
keyExportability
- Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.When set to
EXPORTABLE
, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set toNON_EXPORTABLE
, the key cannot be subsequently exported by the receiver. When set toSENSITIVE
, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to ANSI X9.143-2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyExportability
Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.
When set to
EXPORTABLE
, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set toNON_EXPORTABLE
, the key cannot be subsequently exported by the receiver. When set toSENSITIVE
, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to ANSI X9.143-2022.- Parameters:
keyExportability
- Specifies subsequent exportability of the key within the key block after it is received by the receiving party. It can be used to further restrict exportability of the key after export from Amazon Web Services Payment Cryptography.When set to
EXPORTABLE
, the key can be subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block export only. When set toNON_EXPORTABLE
, the key cannot be subsequently exported by the receiver. When set toSENSITIVE
, the key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and unwrap cryptogram or using a symmetric cryptogram key export method. For further information refer to ANSI X9.143-2022.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyVersion
Parameter used to indicate the version of the key carried in the key block or indicate the value carried in the key block is a component of a key.
- Parameters:
keyVersion
- Parameter used to indicate the version of the key carried in the key block or indicate the value carried in the key block is a component of a key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalBlocks
Parameter used to indicate the type of optional data in key block headers. Refer to ANSI X9.143-2022 for information on allowed data type for optional blocks.
Optional block character limit is 112 characters. For each optional block, 2 characters are reserved for optional block ID and 2 characters reserved for optional block length. More than one optional blocks can be included as long as the combined length does not increase 112 characters.
- Parameters:
optionalBlocks
- Parameter used to indicate the type of optional data in key block headers. Refer to ANSI X9.143-2022 for information on allowed data type for optional blocks.Optional block character limit is 112 characters. For each optional block, 2 characters are reserved for optional block ID and 2 characters reserved for optional block length. More than one optional blocks can be included as long as the combined length does not increase 112 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-