Interface EcdhDerivationAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EcdhDerivationAttributes.Builder,EcdhDerivationAttributes>,SdkBuilder<EcdhDerivationAttributes.Builder,EcdhDerivationAttributes>,SdkPojo
- Enclosing class:
- EcdhDerivationAttributes
public static interface EcdhDerivationAttributes.Builder extends SdkPojo, CopyableBuilder<EcdhDerivationAttributes.Builder,EcdhDerivationAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EcdhDerivationAttributes.BuildercertificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier)ThekeyArnof the certificate that signed the client'sPublicKeyCertificate.EcdhDerivationAttributes.BuilderkeyAlgorithm(String keyAlgorithm)The key algorithm of the derived ECDH key.EcdhDerivationAttributes.BuilderkeyAlgorithm(SymmetricKeyAlgorithm keyAlgorithm)The key algorithm of the derived ECDH key.EcdhDerivationAttributes.BuilderkeyDerivationFunction(String keyDerivationFunction)The key derivation function to use for deriving a key using ECDH.EcdhDerivationAttributes.BuilderkeyDerivationFunction(KeyDerivationFunction keyDerivationFunction)The key derivation function to use for deriving a key using ECDH.EcdhDerivationAttributes.BuilderkeyDerivationHashAlgorithm(String keyDerivationHashAlgorithm)The hash type to use for deriving a key using ECDH.EcdhDerivationAttributes.BuilderkeyDerivationHashAlgorithm(KeyDerivationHashAlgorithm keyDerivationHashAlgorithm)The hash type to use for deriving a key using ECDH.EcdhDerivationAttributes.BuilderpublicKeyCertificate(String publicKeyCertificate)The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.EcdhDerivationAttributes.BuildersharedInformation(String sharedInformation)A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.-
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 Detail
-
certificateAuthorityPublicKeyIdentifier
EcdhDerivationAttributes.Builder certificateAuthorityPublicKeyIdentifier(String certificateAuthorityPublicKeyIdentifier)
The
keyArnof the certificate that signed the client'sPublicKeyCertificate.- Parameters:
certificateAuthorityPublicKeyIdentifier- ThekeyArnof the certificate that signed the client'sPublicKeyCertificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyCertificate
EcdhDerivationAttributes.Builder publicKeyCertificate(String publicKeyCertificate)
The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.
- Parameters:
publicKeyCertificate- The client's public key certificate 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.
-
keyAlgorithm
EcdhDerivationAttributes.Builder keyAlgorithm(String keyAlgorithm)
The key algorithm of the derived ECDH key.
- Parameters:
keyAlgorithm- The key algorithm of the derived ECDH key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SymmetricKeyAlgorithm,SymmetricKeyAlgorithm
-
keyAlgorithm
EcdhDerivationAttributes.Builder keyAlgorithm(SymmetricKeyAlgorithm keyAlgorithm)
The key algorithm of the derived ECDH key.
- Parameters:
keyAlgorithm- The key algorithm of the derived ECDH key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SymmetricKeyAlgorithm,SymmetricKeyAlgorithm
-
keyDerivationFunction
EcdhDerivationAttributes.Builder keyDerivationFunction(String keyDerivationFunction)
The key derivation function to use for deriving a key using ECDH.
- Parameters:
keyDerivationFunction- The key derivation function to use for deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyDerivationFunction,KeyDerivationFunction
-
keyDerivationFunction
EcdhDerivationAttributes.Builder keyDerivationFunction(KeyDerivationFunction keyDerivationFunction)
The key derivation function to use for deriving a key using ECDH.
- Parameters:
keyDerivationFunction- The key derivation function to use for deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyDerivationFunction,KeyDerivationFunction
-
keyDerivationHashAlgorithm
EcdhDerivationAttributes.Builder keyDerivationHashAlgorithm(String keyDerivationHashAlgorithm)
The hash type to use for deriving a key using ECDH.
- Parameters:
keyDerivationHashAlgorithm- The hash type to use for deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyDerivationHashAlgorithm,KeyDerivationHashAlgorithm
-
keyDerivationHashAlgorithm
EcdhDerivationAttributes.Builder keyDerivationHashAlgorithm(KeyDerivationHashAlgorithm keyDerivationHashAlgorithm)
The hash type to use for deriving a key using ECDH.
- Parameters:
keyDerivationHashAlgorithm- The hash type to use for deriving a key using ECDH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyDerivationHashAlgorithm,KeyDerivationHashAlgorithm
-
sharedInformation
EcdhDerivationAttributes.Builder sharedInformation(String sharedInformation)
A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.
It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes, and re-using shared information for multiple ECDH key derivations is not recommended.
- Parameters:
sharedInformation- A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes, and re-using shared information for multiple ECDH key derivations is not recommended.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-