Interface ExportDiffieHellmanTr31KeyBlock.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportDiffieHellmanTr31KeyBlock.Builder,
,ExportDiffieHellmanTr31KeyBlock> SdkBuilder<ExportDiffieHellmanTr31KeyBlock.Builder,
,ExportDiffieHellmanTr31KeyBlock> SdkPojo
- Enclosing class:
ExportDiffieHellmanTr31KeyBlock
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthorityPublicKeyIdentifier
(String certificateAuthorityPublicKeyIdentifier) ThekeyARN
of the CA that signed thePublicKeyCertificate
for the client's receiving ECC key pair.derivationData
(Consumer<DiffieHellmanDerivationData.Builder> derivationData) The shared information used when deriving a key using ECDH.derivationData
(DiffieHellmanDerivationData derivationData) The shared information used when deriving a key using ECDH.deriveKeyAlgorithm
(String deriveKeyAlgorithm) The key algorithm of the shared derived ECDH key.deriveKeyAlgorithm
(SymmetricKeyAlgorithm deriveKeyAlgorithm) The key algorithm of the shared derived ECDH key.keyBlockHeaders
(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders) Sets the value of the KeyBlockHeaders property for this object.keyBlockHeaders
(KeyBlockHeaders keyBlockHeaders) Sets the value of the KeyBlockHeaders property for this object.keyDerivationFunction
(String keyDerivationFunction) The key derivation function to use when deriving a key using ECDH.keyDerivationFunction
(KeyDerivationFunction keyDerivationFunction) The key derivation function to use when deriving a key using ECDH.keyDerivationHashAlgorithm
(String keyDerivationHashAlgorithm) The hash type to use when deriving a key using ECDH.keyDerivationHashAlgorithm
(KeyDerivationHashAlgorithm keyDerivationHashAlgorithm) The hash type to use when deriving a key using ECDH.privateKeyIdentifier
(String privateKeyIdentifier) ThekeyARN
of the asymmetric ECC key created within Amazon Web Services Payment Cryptography.publicKeyCertificate
(String publicKeyCertificate) The public key certificate of the client's receiving ECC key pair, in PEM format (base64 encoded), to use for ECDH key derivation.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
-
privateKeyIdentifier
The
keyARN
of the asymmetric ECC key created within Amazon Web Services Payment Cryptography.- Parameters:
privateKeyIdentifier
- ThekeyARN
of the asymmetric ECC key created within Amazon Web Services Payment Cryptography.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthorityPublicKeyIdentifier
ExportDiffieHellmanTr31KeyBlock.Builder certificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier) The
keyARN
of the CA that signed thePublicKeyCertificate
for the client's receiving ECC key pair.- Parameters:
certificateAuthorityPublicKeyIdentifier
- ThekeyARN
of the CA that signed thePublicKeyCertificate
for the client's receiving ECC key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyCertificate
The public key certificate of the client's receiving ECC key pair, in PEM format (base64 encoded), to use for ECDH key derivation.
- Parameters:
publicKeyCertificate
- The public key certificate of the client's receiving ECC key pair, in PEM format (base64 encoded), to use for ECDH key derivation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deriveKeyAlgorithm
The key algorithm of the shared derived ECDH key.
- Parameters:
deriveKeyAlgorithm
- The key algorithm of the shared derived ECDH key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deriveKeyAlgorithm
ExportDiffieHellmanTr31KeyBlock.Builder deriveKeyAlgorithm(SymmetricKeyAlgorithm deriveKeyAlgorithm) The key algorithm of the shared derived ECDH key.
- Parameters:
deriveKeyAlgorithm
- The key algorithm of the shared derived ECDH key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyDerivationFunction
The key derivation function to use when deriving a key using ECDH.
- Parameters:
keyDerivationFunction
- The key derivation function to use when deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyDerivationFunction
ExportDiffieHellmanTr31KeyBlock.Builder keyDerivationFunction(KeyDerivationFunction keyDerivationFunction) The key derivation function to use when deriving a key using ECDH.
- Parameters:
keyDerivationFunction
- The key derivation function to use when deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyDerivationHashAlgorithm
ExportDiffieHellmanTr31KeyBlock.Builder keyDerivationHashAlgorithm(String keyDerivationHashAlgorithm) The hash type to use when deriving a key using ECDH.
- Parameters:
keyDerivationHashAlgorithm
- The hash type to use when deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyDerivationHashAlgorithm
ExportDiffieHellmanTr31KeyBlock.Builder keyDerivationHashAlgorithm(KeyDerivationHashAlgorithm keyDerivationHashAlgorithm) The hash type to use when deriving a key using ECDH.
- Parameters:
keyDerivationHashAlgorithm
- The hash type to use when deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
derivationData
The shared information used when deriving a key using ECDH.
- Parameters:
derivationData
- The shared information used when deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
derivationData
default ExportDiffieHellmanTr31KeyBlock.Builder derivationData(Consumer<DiffieHellmanDerivationData.Builder> derivationData) The shared information used when deriving a key using ECDH.
This is a convenience method that creates an instance of theDiffieHellmanDerivationData.Builder
avoiding the need to create one manually viaDiffieHellmanDerivationData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toderivationData(DiffieHellmanDerivationData)
.- Parameters:
derivationData
- a consumer that will call methods onDiffieHellmanDerivationData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyBlockHeaders
Sets the value of the KeyBlockHeaders property for this object.- Parameters:
keyBlockHeaders
- The new value for the KeyBlockHeaders property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyBlockHeaders
default ExportDiffieHellmanTr31KeyBlock.Builder keyBlockHeaders(Consumer<KeyBlockHeaders.Builder> keyBlockHeaders) Sets the value of the KeyBlockHeaders property for this object. This is a convenience method that creates an instance of theKeyBlockHeaders.Builder
avoiding the need to create one manually viaKeyBlockHeaders.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyBlockHeaders(KeyBlockHeaders)
.- Parameters:
keyBlockHeaders
- a consumer that will call methods onKeyBlockHeaders.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-