/AWS1/CL_PCD=>GENERATEPINDATA()
¶
About GeneratePinData¶
Generates pin-related data such as PIN, PIN Verification Value (PVV), PIN Block, and PIN Offset during new card issuance or reissuance. For more information, see Generate PIN data in the Amazon Web Services Payment Cryptography User Guide.
PIN data is never transmitted in clear to or from Amazon Web Services Payment Cryptography. This operation generates PIN, PVV, or PIN Offset and then encrypts it using Pin Encryption Key (PEK) to create an EncryptedPinBlock
for transmission from Amazon Web Services Payment Cryptography. This operation uses a separate Pin Verification Key (PVK) for VISA PVV generation.
For information about valid keys for this operation, see Understanding key attributes and Key types for specific data operations in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_GENERATIONKEYIDENTIFIER
TYPE /AWS1/PCDKEYARNORKEYALIASTYPE
/AWS1/PCDKEYARNORKEYALIASTYPE
¶
The
keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
IV_ENCRYPTIONKEYIDENTIFIER
TYPE /AWS1/PCDKEYARNORKEYALIASTYPE
/AWS1/PCDKEYARNORKEYALIASTYPE
¶
The
keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
IO_GENERATIONATTRIBUTES
TYPE REF TO /AWS1/CL_PCDPINGENERATIONATTRS
/AWS1/CL_PCDPINGENERATIONATTRS
¶
The attributes and values to use for PIN, PVV, or PIN Offset generation.
IV_PRIMARYACCOUNTNUMBER
TYPE /AWS1/PCDPRIMARYACCTNUMBERTYPE
/AWS1/PCDPRIMARYACCTNUMBERTYPE
¶
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
IV_PINBLOCKFORMAT
TYPE /AWS1/PCDPINBLOCKFMTFORPINDATA
/AWS1/PCDPINBLOCKFMTFORPINDATA
¶
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports
ISO_Format_0
andISO_Format_3
.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 asISO_Format_0
except that the fill digits are random values from 10 to 15.
Optional arguments:¶
IV_PINDATALENGTH
TYPE /AWS1/PCDINTEGERRANGEBETWEEN03
/AWS1/PCDINTEGERRANGEBETWEEN03
¶
The length of PIN under generation.