The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment
Cryptography supports ISO_Format_0
, ISO_Format_3
and ISO_Format_4
.
The ISO_Format_0
PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block
formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.
The ISO_Format_3
PIN block format is the same as ISO_Format_0
except that the fill
digits are random values from 10 to 15.
The ISO_Format_4
PIN block format is the only one supporting AES encryption. It is similar to
ISO_Format_3
but doubles the pin block length by padding with fill digit A and random values from 10
to 15.
If the service returns an enum value that is not available in the current SDK version, pinBlockFormat
will return PinBlockFormatForPinData.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from pinBlockFormatAsString()
.