@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmvEncryptionAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Parameters for plaintext encryption using EMV keys.
Constructor and Description |
---|
EmvEncryptionAttributes() |
Modifier and Type | Method and Description |
---|---|
EmvEncryptionAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getInitializationVector()
An input used to provide the intial state.
|
String |
getMajorKeyDerivationMode()
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
|
String |
getMode()
The block cipher method to use for encryption.
|
String |
getPanSequenceNumber()
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
|
String |
getPrimaryAccountNumber()
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card
to a specific account holder.
|
String |
getSessionDerivationData()
The derivation value used to derive the ICC session key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInitializationVector(String initializationVector)
An input used to provide the intial state.
|
void |
setMajorKeyDerivationMode(String majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
|
void |
setMode(String mode)
The block cipher method to use for encryption.
|
void |
setPanSequenceNumber(String panSequenceNumber)
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
|
void |
setPrimaryAccountNumber(String primaryAccountNumber)
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card
to a specific account holder.
|
void |
setSessionDerivationData(String sessionDerivationData)
The derivation value used to derive the ICC session key.
|
String |
toString()
Returns a string representation of this object.
|
EmvEncryptionAttributes |
withInitializationVector(String initializationVector)
An input used to provide the intial state.
|
EmvEncryptionAttributes |
withMajorKeyDerivationMode(EmvMajorKeyDerivationMode majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
|
EmvEncryptionAttributes |
withMajorKeyDerivationMode(String majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
|
EmvEncryptionAttributes |
withMode(EmvEncryptionMode mode)
The block cipher method to use for encryption.
|
EmvEncryptionAttributes |
withMode(String mode)
The block cipher method to use for encryption.
|
EmvEncryptionAttributes |
withPanSequenceNumber(String panSequenceNumber)
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
|
EmvEncryptionAttributes |
withPrimaryAccountNumber(String primaryAccountNumber)
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card
to a specific account holder.
|
EmvEncryptionAttributes |
withSessionDerivationData(String sessionDerivationData)
The derivation value used to derive the ICC session key.
|
public void setMajorKeyDerivationMode(String majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
majorKeyDerivationMode
- The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.EmvMajorKeyDerivationMode
public String getMajorKeyDerivationMode()
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
EmvMajorKeyDerivationMode
public EmvEncryptionAttributes withMajorKeyDerivationMode(String majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
majorKeyDerivationMode
- The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.EmvMajorKeyDerivationMode
public EmvEncryptionAttributes withMajorKeyDerivationMode(EmvMajorKeyDerivationMode majorKeyDerivationMode)
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
majorKeyDerivationMode
- The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.EmvMajorKeyDerivationMode
public void setPrimaryAccountNumber(String primaryAccountNumber)
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
primaryAccountNumber
- The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates
the card to a specific account holder.public String getPrimaryAccountNumber()
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
public EmvEncryptionAttributes withPrimaryAccountNumber(String primaryAccountNumber)
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
primaryAccountNumber
- The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates
the card to a specific account holder.public void setPanSequenceNumber(String panSequenceNumber)
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
panSequenceNumber
- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).public String getPanSequenceNumber()
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
public EmvEncryptionAttributes withPanSequenceNumber(String panSequenceNumber)
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
panSequenceNumber
- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).public void setSessionDerivationData(String sessionDerivationData)
The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.
sessionDerivationData
- The derivation value used to derive the ICC session key. It is typically the application transaction
counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.public String getSessionDerivationData()
The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.
public EmvEncryptionAttributes withSessionDerivationData(String sessionDerivationData)
The derivation value used to derive the ICC session key. It is typically the application transaction counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.
sessionDerivationData
- The derivation value used to derive the ICC session key. It is typically the application transaction
counter value padded with zeros or previous ARQC value padded with zeros as per EMV version 4.3 book 2.public void setMode(String mode)
The block cipher method to use for encryption.
mode
- The block cipher method to use for encryption.EmvEncryptionMode
public String getMode()
The block cipher method to use for encryption.
EmvEncryptionMode
public EmvEncryptionAttributes withMode(String mode)
The block cipher method to use for encryption.
mode
- The block cipher method to use for encryption.EmvEncryptionMode
public EmvEncryptionAttributes withMode(EmvEncryptionMode mode)
The block cipher method to use for encryption.
mode
- The block cipher method to use for encryption.EmvEncryptionMode
public void setInitializationVector(String initializationVector)
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
initializationVector
- An input used to provide the intial state. If no value is provided, Amazon Web Services Payment
Cryptography defaults it to zero.public String getInitializationVector()
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
public EmvEncryptionAttributes withInitializationVector(String initializationVector)
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
initializationVector
- An input used to provide the intial state. If no value is provided, Amazon Web Services Payment
Cryptography defaults it to zero.public String toString()
toString
in class Object
Object.toString()
public EmvEncryptionAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.