@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyAttributes extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
KeyAttributes() |
| Modifier and Type | Method and Description |
|---|---|
KeyAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getKeyAlgorithm()
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
String |
getKeyClass()
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 |
getKeyModesOfUse()
The list of cryptographic operations that you can perform using the key.
|
String |
getKeyUsage()
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the
TR-31 spec.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKeyAlgorithm(String keyAlgorithm)
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
void |
setKeyClass(String 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.
|
void |
setKeyModesOfUse(KeyModesOfUse keyModesOfUse)
The list of cryptographic operations that you can perform using the key.
|
void |
setKeyUsage(String 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 |
toString()
Returns a string representation of this object.
|
KeyAttributes |
withKeyAlgorithm(KeyAlgorithm keyAlgorithm)
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
KeyAttributes |
withKeyAlgorithm(String keyAlgorithm)
The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.
|
KeyAttributes |
withKeyClass(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.
|
KeyAttributes |
withKeyClass(String 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.
|
KeyAttributes |
withKeyModesOfUse(KeyModesOfUse keyModesOfUse)
The list of cryptographic operations that you can perform using the key.
|
KeyAttributes |
withKeyUsage(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.
|
KeyAttributes |
withKeyUsage(String keyUsage)
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the
TR-31 spec.
|
public void setKeyUsage(String keyUsage)
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
keyUsage - The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of
the TR-31 spec.KeyUsagepublic String getKeyUsage()
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
KeyUsagepublic KeyAttributes withKeyUsage(String keyUsage)
The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.
keyUsage - The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of
the TR-31 spec.KeyUsagepublic KeyAttributes withKeyUsage(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.
keyUsage - The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of
the TR-31 spec.KeyUsagepublic void setKeyClass(String 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.
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.KeyClasspublic String getKeyClass()
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.
KeyClasspublic KeyAttributes withKeyClass(String 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.
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.KeyClasspublic KeyAttributes withKeyClass(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.
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.KeyClasspublic void setKeyAlgorithm(String 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.
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.
KeyAlgorithmpublic String getKeyAlgorithm()
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.
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 KeyAttributes withKeyAlgorithm(String 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.
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.
KeyAlgorithmpublic KeyAttributes withKeyAlgorithm(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.
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.
KeyAlgorithmpublic void setKeyModesOfUse(KeyModesOfUse keyModesOfUse)
The list of cryptographic operations that you can perform using the key.
keyModesOfUse - The list of cryptographic operations that you can perform using the key.public KeyModesOfUse getKeyModesOfUse()
The list of cryptographic operations that you can perform using the key.
public KeyAttributes withKeyModesOfUse(KeyModesOfUse keyModesOfUse)
The list of cryptographic operations that you can perform using the key.
keyModesOfUse - The list of cryptographic operations that you can perform using the key.public String toString()
toString in class ObjectObject.toString()public KeyAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.