@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MacAlgorithmDukpt extends Object implements Serializable, Cloneable, StructuredPojo
Parameters required for DUKPT MAC generation and verification.
| Constructor and Description |
|---|
MacAlgorithmDukpt() |
| Modifier and Type | Method and Description |
|---|---|
MacAlgorithmDukpt |
clone() |
boolean |
equals(Object obj) |
String |
getDukptDerivationType()
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
String |
getDukptKeyVariant()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
|
String |
getKeySerialNumber()
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDukptDerivationType(String dukptDerivationType)
The key type derived 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 MAC generation, MAC verification, or both.
|
void |
setKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
String |
toString()
Returns a string representation of this object.
|
MacAlgorithmDukpt |
withDukptDerivationType(DukptDerivationType dukptDerivationType)
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
MacAlgorithmDukpt |
withDukptDerivationType(String dukptDerivationType)
The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
|
MacAlgorithmDukpt |
withDukptKeyVariant(DukptKeyVariant dukptKeyVariant)
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
|
MacAlgorithmDukpt |
withDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
|
MacAlgorithmDukpt |
withKeySerialNumber(String keySerialNumber)
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT
encryption method.
|
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 MacAlgorithmDukpt 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 setDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
dukptKeyVariant - The type of use of DUKPT, which can be MAC generation, MAC verification, or both.DukptKeyVariantpublic String getDukptKeyVariant()
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
DukptKeyVariantpublic MacAlgorithmDukpt withDukptKeyVariant(String dukptKeyVariant)
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
dukptKeyVariant - The type of use of DUKPT, which can be MAC generation, MAC verification, or both.DukptKeyVariantpublic MacAlgorithmDukpt withDukptKeyVariant(DukptKeyVariant dukptKeyVariant)
The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
dukptKeyVariant - The type of use of DUKPT, which can be MAC generation, MAC verification, or both.DukptKeyVariantpublic void setDukptDerivationType(String dukptDerivationType)
The key type derived 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 - The key type derived 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.DukptDerivationTypepublic String getDukptDerivationType()
The key type derived 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.DukptDerivationTypepublic MacAlgorithmDukpt withDukptDerivationType(String dukptDerivationType)
The key type derived 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 - The key type derived 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.DukptDerivationTypepublic MacAlgorithmDukpt withDukptDerivationType(DukptDerivationType dukptDerivationType)
The key type derived 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 - The key type derived 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.DukptDerivationTypepublic String toString()
toString in class ObjectObject.toString()public MacAlgorithmDukpt clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.