@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WrappedKey extends Object implements Serializable, Cloneable, StructuredPojo
Parameter information of a WrappedKeyBlock for encryption key exchange.
Constructor and Description |
---|
WrappedKey() |
Modifier and Type | Method and Description |
---|---|
WrappedKey |
clone() |
boolean |
equals(Object obj) |
String |
getKeyCheckValueAlgorithm()
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
|
WrappedKeyMaterial |
getWrappedKeyMaterial()
Parameter information of a WrappedKeyBlock for encryption key exchange.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKeyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
|
void |
setWrappedKeyMaterial(WrappedKeyMaterial wrappedKeyMaterial)
Parameter information of a WrappedKeyBlock for encryption key exchange.
|
String |
toString()
Returns a string representation of this object.
|
WrappedKey |
withKeyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
|
WrappedKey |
withKeyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
|
WrappedKey |
withWrappedKeyMaterial(WrappedKeyMaterial wrappedKeyMaterial)
Parameter information of a WrappedKeyBlock for encryption key exchange.
|
public void setWrappedKeyMaterial(WrappedKeyMaterial wrappedKeyMaterial)
Parameter information of a WrappedKeyBlock for encryption key exchange.
wrappedKeyMaterial
- Parameter information of a WrappedKeyBlock for encryption key exchange.public WrappedKeyMaterial getWrappedKeyMaterial()
Parameter information of a WrappedKeyBlock for encryption key exchange.
public WrappedKey withWrappedKeyMaterial(WrappedKeyMaterial wrappedKeyMaterial)
Parameter information of a WrappedKeyBlock for encryption key exchange.
wrappedKeyMaterial
- Parameter information of a WrappedKeyBlock for encryption key exchange.public void setKeyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm
- The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm
public String getKeyCheckValueAlgorithm()
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm
public WrappedKey withKeyCheckValueAlgorithm(String keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm
- The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm
public WrappedKey withKeyCheckValueAlgorithm(KeyCheckValueAlgorithm keyCheckValueAlgorithm)
The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
keyCheckValueAlgorithm
- The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV).
It is used to validate the key integrity.
For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.
KeyCheckValueAlgorithm
public String toString()
toString
in class Object
Object.toString()
public WrappedKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.