Class EmvEncryptionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.EmvEncryptionAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmvEncryptionAttributes.Builder,EmvEncryptionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class EmvEncryptionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmvEncryptionAttributes.Builder,EmvEncryptionAttributes>
Parameters for plaintext encryption using EMV keys.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmvEncryptionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmvEncryptionAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinitializationVector()An input used to provide the intial state.EmvMajorKeyDerivationModemajorKeyDerivationMode()The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.StringmajorKeyDerivationModeAsString()The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.EmvEncryptionModemode()The block cipher method to use for encryption.StringmodeAsString()The block cipher method to use for encryption.StringpanSequenceNumber()A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).StringprimaryAccountNumber()The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.List<SdkField<?>>sdkFields()static Class<? extends EmvEncryptionAttributes.Builder>serializableBuilderClass()StringsessionDerivationData()The derivation value used to derive the ICC session key.EmvEncryptionAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
initializationVector
public final String initializationVector()
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
- Returns:
- An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
-
majorKeyDerivationMode
public final EmvMajorKeyDerivationMode majorKeyDerivationMode()
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnEmvMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
- See Also:
EmvMajorKeyDerivationMode
-
majorKeyDerivationModeAsString
public final String majorKeyDerivationModeAsString()
The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnEmvMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The EMV derivation mode to use for ICC master key derivation as per EMV version 4.3 book 2.
- See Also:
EmvMajorKeyDerivationMode
-
mode
public final EmvEncryptionMode mode()
The block cipher method to use for encryption.
If the service returns an enum value that is not available in the current SDK version,
modewill returnEmvEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The block cipher method to use for encryption.
- See Also:
EmvEncryptionMode
-
modeAsString
public final String modeAsString()
The block cipher method to use for encryption.
If the service returns an enum value that is not available in the current SDK version,
modewill returnEmvEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The block cipher method to use for encryption.
- See Also:
EmvEncryptionMode
-
panSequenceNumber
public final String panSequenceNumber()
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
- Returns:
- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN).
-
primaryAccountNumber
public final 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.
- Returns:
- The Primary Account Number (PAN), a unique identifier for a payment credit or debit card and associates the card to a specific account holder.
-
sessionDerivationData
public final 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.
- Returns:
- 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.
-
toBuilder
public EmvEncryptionAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmvEncryptionAttributes.Builder,EmvEncryptionAttributes>
-
builder
public static EmvEncryptionAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends EmvEncryptionAttributes.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-