Class KeyAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptography.model.KeyAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyAttributes.Builder,KeyAttributes>
@Generated("software.amazon.awssdk:codegen") public final class KeyAttributes extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKeyAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()KeyAlgorithmkeyAlgorithm()The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.StringkeyAlgorithmAsString()The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.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.StringkeyClassAsString()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.KeyModesOfUsekeyModesOfUse()The list of cryptographic operations that you can perform using the key.KeyUsagekeyUsage()The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.StringkeyUsageAsString()The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.List<SdkField<?>>sdkFields()static Class<? extends KeyAttributes.Builder>serializableBuilderClass()KeyAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
keyAlgorithm
public final KeyAlgorithm 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:
KeyAlgorithm
-
keyAlgorithmAsString
public final String 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:
KeyAlgorithm
-
keyClass
public final KeyClass 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:
KeyClass
-
keyClassAsString
public final String 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:
KeyClass
-
keyModesOfUse
public final KeyModesOfUse 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.
-
keyUsage
public final KeyUsage 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:
KeyUsage
-
keyUsageAsString
public final String 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:
KeyUsage
-
toBuilder
public KeyAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeyAttributes.Builder,KeyAttributes>
-
builder
public static KeyAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends KeyAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-