Class ImportDiffieHellmanTr31KeyBlock
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportDiffieHellmanTr31KeyBlock.Builder,ImportDiffieHellmanTr31KeyBlock>
Parameter information for key material import using the asymmetric ECDH key exchange method.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThekeyARNof the certificate that signed the client'sPublicKeyCertificate.Derivation data used to derive an ECDH key.final SymmetricKeyAlgorithmThe key algorithm of the derived ECDH key.final StringThe key algorithm of the derived ECDH key.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final KeyDerivationFunctionThe key derivation function to use for deriving a key using ECDH.final StringThe key derivation function to use for deriving a key using ECDH.The hash type to use for deriving a key using ECDH.final StringThe hash type to use for deriving a key using ECDH.final StringThekeyARNof the asymmetric ECC key.final StringThe client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.static Class<? extends ImportDiffieHellmanTr31KeyBlock.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe ECDH wrapped key block to import.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
privateKeyIdentifier
The
keyARNof the asymmetric ECC key.- Returns:
- The
keyARNof the asymmetric ECC key.
-
certificateAuthorityPublicKeyIdentifier
The
keyARNof the certificate that signed the client'sPublicKeyCertificate.- Returns:
- The
keyARNof the certificate that signed the client'sPublicKeyCertificate.
-
publicKeyCertificate
The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.
- Returns:
- The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.
-
deriveKeyAlgorithm
The key algorithm of the derived ECDH key.
If the service returns an enum value that is not available in the current SDK version,
deriveKeyAlgorithmwill returnSymmetricKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromderiveKeyAlgorithmAsString().- Returns:
- The key algorithm of the derived ECDH key.
- See Also:
-
deriveKeyAlgorithmAsString
The key algorithm of the derived ECDH key.
If the service returns an enum value that is not available in the current SDK version,
deriveKeyAlgorithmwill returnSymmetricKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromderiveKeyAlgorithmAsString().- Returns:
- The key algorithm of the derived ECDH key.
- See Also:
-
keyDerivationFunction
The key derivation function to use for deriving a key using ECDH.
If the service returns an enum value that is not available in the current SDK version,
keyDerivationFunctionwill returnKeyDerivationFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyDerivationFunctionAsString().- Returns:
- The key derivation function to use for deriving a key using ECDH.
- See Also:
-
keyDerivationFunctionAsString
The key derivation function to use for deriving a key using ECDH.
If the service returns an enum value that is not available in the current SDK version,
keyDerivationFunctionwill returnKeyDerivationFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyDerivationFunctionAsString().- Returns:
- The key derivation function to use for deriving a key using ECDH.
- See Also:
-
keyDerivationHashAlgorithm
The hash type to use for deriving a key using ECDH.
If the service returns an enum value that is not available in the current SDK version,
keyDerivationHashAlgorithmwill returnKeyDerivationHashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyDerivationHashAlgorithmAsString().- Returns:
- The hash type to use for deriving a key using ECDH.
- See Also:
-
keyDerivationHashAlgorithmAsString
The hash type to use for deriving a key using ECDH.
If the service returns an enum value that is not available in the current SDK version,
keyDerivationHashAlgorithmwill returnKeyDerivationHashAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyDerivationHashAlgorithmAsString().- Returns:
- The hash type to use for deriving a key using ECDH.
- See Also:
-
derivationData
Derivation data used to derive an ECDH key.
- Returns:
- Derivation data used to derive an ECDH key.
-
wrappedKeyBlock
The ECDH wrapped key block to import.
- Returns:
- The ECDH wrapped key block to import.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportDiffieHellmanTr31KeyBlock.Builder,ImportDiffieHellmanTr31KeyBlock> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-