Class KeyAttributes
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyAttributes.Builder,KeyAttributes>
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyAttributes.Builderbuilder()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 KeyAlgorithmThe key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.final StringThe key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.final KeyClasskeyClass()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.final StringThe 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.final KeyModesOfUseThe list of cryptographic operations that you can perform using the key.final KeyUsagekeyUsage()The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.final StringThe cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.static Class<? extends KeyAttributes.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.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
If the service returns an enum value that is not available in the current SDK version,
keyUsagewill returnKeyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyUsageAsString().- Returns:
- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- See Also:
-
keyUsageAsString
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
If the service returns an enum value that is not available in the current SDK version,
keyUsagewill returnKeyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyUsageAsString().- Returns:
- The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
- 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.
If the service returns an enum value that is not available in the current SDK version,
keyClasswill returnKeyClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyClassAsString().- Returns:
- 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.
- See Also:
-
keyClassAsString
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.
If the service returns an enum value that is not available in the current SDK version,
keyClasswill returnKeyClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyClassAsString().- Returns:
- 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.
- 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
AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms.If the service returns an enum value that is not available in the current SDK version,
keyAlgorithmwill returnKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAlgorithmAsString().- Returns:
- 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
AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms. - See Also:
-
keyAlgorithmAsString
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
AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms.If the service returns an enum value that is not available in the current SDK version,
keyAlgorithmwill returnKeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAlgorithmAsString().- Returns:
- 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
AESandTDESalgorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supportsRSAandECC_NISTalgorithms. - See Also:
-
keyModesOfUse
The list of cryptographic operations that you can perform using the key.
- Returns:
- The list of cryptographic operations that you can perform using the key.
-
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<KeyAttributes.Builder,KeyAttributes> - 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
-