@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DukptEncryptionAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Parameters that are required to encrypt plaintext data using DUKPT.
Constructor and Description |
---|
DukptEncryptionAttributes() |
Modifier and Type | Method and Description |
---|---|
DukptEncryptionAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getDukptKeyDerivationType()
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
String |
getDukptKeyVariant()
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
String |
getInitializationVector()
An input to cryptographic primitive used to provide the intial state.
|
String |
getKeySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
String |
getMode()
The block cipher mode of operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDukptKeyDerivationType(String dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
void |
setDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
void |
setInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state.
|
void |
setKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
void |
setMode(String mode)
The block cipher mode of operation.
|
String |
toString()
Returns a string representation of this object.
|
DukptEncryptionAttributes |
withDukptKeyDerivationType(DukptDerivationType dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
DukptEncryptionAttributes |
withDukptKeyDerivationType(String dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
DukptEncryptionAttributes |
withDukptKeyVariant(DukptKeyVariant dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
DukptEncryptionAttributes |
withDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
|
DukptEncryptionAttributes |
withInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state.
|
DukptEncryptionAttributes |
withKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
DukptEncryptionAttributes |
withMode(DukptEncryptionMode mode)
The block cipher mode of operation.
|
DukptEncryptionAttributes |
withMode(String mode)
The block cipher mode of operation.
|
public void setDukptKeyDerivationType(String dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be
less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation
type for a BDK of AES_128
or TDES_2KEY
dukptKeyDerivationType
- The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must
be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a
derivation type for a BDK of AES_128
or TDES_2KEY
DukptDerivationType
public String getDukptKeyDerivationType()
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be
less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation
type for a BDK of AES_128
or TDES_2KEY
AES_128
as
a derivation type for a BDK of AES_128
or TDES_2KEY
DukptDerivationType
public DukptEncryptionAttributes withDukptKeyDerivationType(String dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be
less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation
type for a BDK of AES_128
or TDES_2KEY
dukptKeyDerivationType
- The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must
be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a
derivation type for a BDK of AES_128
or TDES_2KEY
DukptDerivationType
public DukptEncryptionAttributes withDukptKeyDerivationType(DukptDerivationType dukptKeyDerivationType)
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be
less than or equal to the strength of the BDK. For example, you can't use AES_128
as a derivation
type for a BDK of AES_128
or TDES_2KEY
dukptKeyDerivationType
- The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must
be less than or equal to the strength of the BDK. For example, you can't use AES_128
as a
derivation type for a BDK of AES_128
or TDES_2KEY
DukptDerivationType
public void setDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
dukptKeyVariant
- The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.DukptKeyVariant
public String getDukptKeyVariant()
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
DukptKeyVariant
public DukptEncryptionAttributes withDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
dukptKeyVariant
- The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.DukptKeyVariant
public DukptEncryptionAttributes withDukptKeyVariant(DukptKeyVariant dukptKeyVariant)
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
dukptKeyVariant
- The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.DukptKeyVariant
public void setInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs to be
unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a
random value.
initializationVector
- An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs
to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography
generates a random value.public String getInitializationVector()
An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs to be
unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a
random value.
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs
to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography
generates a random value.public DukptEncryptionAttributes withInitializationVector(String initializationVector)
An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs to be
unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a
random value.
initializationVector
- An input to cryptographic primitive used to provide the intial state. Typically the
InitializationVector
must have a random or psuedo-random value, but sometimes it only needs
to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography
generates a random value.public void setKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
keySerialNumber
- The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method. The KSN is derived from the encrypting device unique identifier and an internal
transaction counter.public String getKeySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
public DukptEncryptionAttributes withKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
keySerialNumber
- The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method. The KSN is derived from the encrypting device unique identifier and an internal
transaction counter.public void setMode(String mode)
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
mode
- The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size,
for example, 128 bits. The size of the input block is usually same as the size of the encrypted output
block, while the key length can be different. A mode of operation describes how to repeatedly apply a
cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
DukptEncryptionMode
public String getMode()
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
The default is CBC.
DukptEncryptionMode
public DukptEncryptionAttributes withMode(String mode)
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
mode
- The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size,
for example, 128 bits. The size of the input block is usually same as the size of the encrypted output
block, while the key length can be different. A mode of operation describes how to repeatedly apply a
cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
DukptEncryptionMode
public DukptEncryptionAttributes withMode(DukptEncryptionMode mode)
The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
mode
- The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size,
for example, 128 bits. The size of the input block is usually same as the size of the encrypted output
block, while the key length can be different. A mode of operation describes how to repeatedly apply a
cipher's single-block operation to securely transform amounts of data larger than a block.
The default is CBC.
DukptEncryptionMode
public String toString()
toString
in class Object
Object.toString()
public DukptEncryptionAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.