@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KeyAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KeyAttributes.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KeyAlgorithm |
keyAlgorithm()
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
String |
keyAlgorithmAsString()
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
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.
|
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.
|
KeyModesOfUse |
keyModesOfUse()
The list of cryptographic operations that you can perform using the key.
|
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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KeyAttributes.Builder> |
serializableBuilderClass() |
KeyAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 AES and TDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and
ECC_NIST algorithms.
If the service returns an enum value that is not available in the current SDK version, keyAlgorithm will
return KeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAlgorithmAsString().
For symmetric keys, Amazon Web Services Payment Cryptography supports AES and
TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports
RSA and ECC_NIST algorithms.
KeyAlgorithmpublic 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 AES and TDES
algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports RSA and
ECC_NIST algorithms.
If the service returns an enum value that is not available in the current SDK version, keyAlgorithm will
return KeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAlgorithmAsString().
For symmetric keys, Amazon Web Services Payment Cryptography supports AES and
TDES algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports
RSA and ECC_NIST algorithms.
KeyAlgorithmpublic 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, keyClass will
return KeyClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyClassAsString().
KeyClasspublic 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, keyClass will
return KeyClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyClassAsString().
KeyClasspublic final KeyModesOfUse keyModesOfUse()
The list of cryptographic operations that you can perform using the key.
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, keyUsage will
return KeyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyUsageAsString().
KeyUsagepublic 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, keyUsage will
return KeyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyUsageAsString().
KeyUsagepublic KeyAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KeyAttributes.Builder,KeyAttributes>public static KeyAttributes.Builder builder()
public static Class<? extends KeyAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.