Interface KeyAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyAttributes.Builder,
,KeyAttributes> SdkBuilder<KeyAttributes.Builder,
,KeyAttributes> SdkPojo
- Enclosing class:
KeyAttributes
-
Method Summary
Modifier and TypeMethodDescriptionkeyAlgorithm
(String keyAlgorithm) The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.keyAlgorithm
(KeyAlgorithm keyAlgorithm) The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.default KeyAttributes.Builder
keyModesOfUse
(Consumer<KeyModesOfUse.Builder> keyModesOfUse) The list of cryptographic operations that you can perform using the key.keyModesOfUse
(KeyModesOfUse keyModesOfUse) The list of cryptographic operations that you can perform using the key.The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.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
-
keyUsage
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- Parameters:
keyUsage
- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyUsage
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- Parameters:
keyUsage
- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyClass
The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
- Parameters:
keyClass
- The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyClass
The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.
- Parameters:
keyClass
- The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
For symmetric keys, Amazon Web Services Payment Cryptography supports
AES
andTDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSA
andECC_NIST
algorithms.- Parameters:
keyAlgorithm
- The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.For symmetric keys, Amazon Web Services Payment Cryptography supports
AES
andTDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSA
andECC_NIST
algorithms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
For symmetric keys, Amazon Web Services Payment Cryptography supports
AES
andTDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSA
andECC_NIST
algorithms.- Parameters:
keyAlgorithm
- The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.For symmetric keys, Amazon Web Services Payment Cryptography supports
AES
andTDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSA
andECC_NIST
algorithms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyModesOfUse
The list of cryptographic operations that you can perform using the key.
- Parameters:
keyModesOfUse
- The list of cryptographic operations that you can perform using the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyModesOfUse
The list of cryptographic operations that you can perform using the key.
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:
-