Class EmvCommonAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.EmvCommonAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmvCommonAttributes.Builder,EmvCommonAttributes>
@Generated("software.amazon.awssdk:codegen") public final class EmvCommonAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmvCommonAttributes.Builder,EmvCommonAttributes>
Parameters to derive the confidentiality and integrity keys for an Emv common payment card.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmvCommonAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationCryptogram()The application cryptogram for the current transaction that is provided by the terminal during transaction processing.static EmvCommonAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MajorKeyDerivationModemajorKeyDerivationMode()The method to use when deriving the master key for the payment card.StringmajorKeyDerivationModeAsString()The method to use when deriving the master key for the payment card.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).PinBlockLengthPositionpinBlockLengthPosition()Specifies if PIN block length should be added to front of the pin block.StringpinBlockLengthPositionAsString()Specifies if PIN block length should be added to front of the pin block.PinBlockPaddingTypepinBlockPaddingType()The padding to be added to the PIN block prior to encryption.StringpinBlockPaddingTypeAsString()The padding to be added to the PIN block prior to encryption.StringprimaryAccountNumber()The Primary Account Number (PAN) of the cardholder.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EmvCommonAttributes.Builder>serializableBuilderClass()EmvCommonAttributes.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
-
majorKeyDerivationMode
public final MajorKeyDerivationMode majorKeyDerivationMode()
The method to use when deriving the master key for the payment card.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The method to use when deriving the master key for the payment card.
- See Also:
MajorKeyDerivationMode
-
majorKeyDerivationModeAsString
public final String majorKeyDerivationModeAsString()
The method to use when deriving the master key for the payment card.
If the service returns an enum value that is not available in the current SDK version,
majorKeyDerivationModewill returnMajorKeyDerivationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommajorKeyDerivationModeAsString().- Returns:
- The method to use when deriving the master key for the payment card.
- See Also:
MajorKeyDerivationMode
-
primaryAccountNumber
public final String primaryAccountNumber()
The Primary Account Number (PAN) of the cardholder.
- Returns:
- The Primary Account Number (PAN) of the cardholder.
-
panSequenceNumber
public final String panSequenceNumber()
A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.
- Returns:
- A number that identifies and differentiates payment cards with the same Primary Account Number (PAN). Typically 00 is used, if no value is provided by the terminal.
-
applicationCryptogram
public final String applicationCryptogram()
The application cryptogram for the current transaction that is provided by the terminal during transaction processing.
- Returns:
- The application cryptogram for the current transaction that is provided by the terminal during transaction processing.
-
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
-
pinBlockPaddingType
public final PinBlockPaddingType pinBlockPaddingType()
The padding to be added to the PIN block prior to encryption.
Padding type should be
ISO_IEC_7816_4, ifPinBlockLengthPositionis set toFRONT_OF_PIN_BLOCK. No padding is required, ifPinBlockLengthPositionis set toNONE.If the service returns an enum value that is not available in the current SDK version,
pinBlockPaddingTypewill returnPinBlockPaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockPaddingTypeAsString().- Returns:
- The padding to be added to the PIN block prior to encryption.
Padding type should be
ISO_IEC_7816_4, ifPinBlockLengthPositionis set toFRONT_OF_PIN_BLOCK. No padding is required, ifPinBlockLengthPositionis set toNONE. - See Also:
PinBlockPaddingType
-
pinBlockPaddingTypeAsString
public final String pinBlockPaddingTypeAsString()
The padding to be added to the PIN block prior to encryption.
Padding type should be
ISO_IEC_7816_4, ifPinBlockLengthPositionis set toFRONT_OF_PIN_BLOCK. No padding is required, ifPinBlockLengthPositionis set toNONE.If the service returns an enum value that is not available in the current SDK version,
pinBlockPaddingTypewill returnPinBlockPaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockPaddingTypeAsString().- Returns:
- The padding to be added to the PIN block prior to encryption.
Padding type should be
ISO_IEC_7816_4, ifPinBlockLengthPositionis set toFRONT_OF_PIN_BLOCK. No padding is required, ifPinBlockLengthPositionis set toNONE. - See Also:
PinBlockPaddingType
-
pinBlockLengthPosition
public final PinBlockLengthPosition pinBlockLengthPosition()
Specifies if PIN block length should be added to front of the pin block.
If value is set to
FRONT_OF_PIN_BLOCK, then PIN block padding type should beISO_IEC_7816_4.If the service returns an enum value that is not available in the current SDK version,
pinBlockLengthPositionwill returnPinBlockLengthPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockLengthPositionAsString().- Returns:
- Specifies if PIN block length should be added to front of the pin block.
If value is set to
FRONT_OF_PIN_BLOCK, then PIN block padding type should beISO_IEC_7816_4. - See Also:
PinBlockLengthPosition
-
pinBlockLengthPositionAsString
public final String pinBlockLengthPositionAsString()
Specifies if PIN block length should be added to front of the pin block.
If value is set to
FRONT_OF_PIN_BLOCK, then PIN block padding type should beISO_IEC_7816_4.If the service returns an enum value that is not available in the current SDK version,
pinBlockLengthPositionwill returnPinBlockLengthPosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockLengthPositionAsString().- Returns:
- Specifies if PIN block length should be added to front of the pin block.
If value is set to
FRONT_OF_PIN_BLOCK, then PIN block padding type should beISO_IEC_7816_4. - See Also:
PinBlockLengthPosition
-
toBuilder
public EmvCommonAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmvCommonAttributes.Builder,EmvCommonAttributes>
-
builder
public static EmvCommonAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends EmvCommonAttributes.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-