IBM 2 Computer Hardware User Manual


 
CCA Release 2.54
Eleven (rightmost) digits of PAN data, excluding the check digit. For
information about a PAN, see “Personal Account Number (PAN)” on
page 8-13.
A constant, six.
A one-digit key index selector from one to six.
Three numeric characters of validation data.
reserved
The second and third elements in the data array for the Interbank calculation
method are reserved. These elements point to 16-byte variables in application
storage. The information in these elements will be ignored, but the elements
must be declared.
Supporting Multiple PIN-Block Formats and PIN-Extraction Methods
The PIN verbs support multiple PIN-block formats, which you specify in a
PIN_profile variable. The supported PIN-block formats are described in “PIN-Block
Formats” on page E-9. Multiple methods for extracting the PIN value from the PIN
block exist for certain PIN-block formats. Depending on the PIN-block format, the
verbs also require a pad digit, a personal account number (PAN), and/or a
sequence number.
When deriving the unique-key according to the ANSI X9.24 UKPT process, the
verbs also require you to supply the current key serial number (CKSN). The CKSN
is supplied as an extension of the PIN profile.
This section describes the following:
The PIN-profile variable
The PIN-extraction methods
The Personal Account Number (PAN)
The current key serial number (CKSN).
PIN Profile
A PIN-profile variable consists of three elements and an optional extension, the
CKSN. The basic elements identify the PIN-block format, the level of format
control, and any pad digit. Generally you can code the basic PIN profile as a
constant in your application. Each element is an eight-byte character string in an
array, which is the equivalent of a single 24-byte string that is organized as three
8-byte fields. The elements must be eight bytes in length, uppercase, and,
depending on the element, either left-justified or right-justified and padded with
space characters. Depending on the verb and the PIN-block format, all three
elements might not be used. However, all three elements (that is, all 24 bytes)
must be declared.
PIN-Block Format: The PIN-block format is the first element in a PIN-profile
variable. You specify the format through the use of one of these keywords, left
justified:
8-10 IBM 4758 CCA Basic Services, Release 2.54, February 2005