z/OS Cryptographic Services ICSF Application Programmer's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


VISA CVV Service Generate (CSNBCSG and CSNECSG)

z/OS Cryptographic Services ICSF Application Programmer's Guide
SA22-7522-16

Use the VISA CVV Service Generate callable service to generate a:

  • VISA Card Verification Value (CVV)
  • MasterCard Card Verification Code (CVC)
  • Diner's Club Card Verification Value (CVV)

as defined for track 2.

This service generates a CVV that is based upon the information that the PAN_data, the expiration_date, and the service_code parameters provide.

The service uses the Key-A and the Key-B keys to cryptographically process this information. Key-A and Key-B can be single-length DATA or MAC keys or a combined Key-A, Key-B double length DATA or MAC key. If the requested CVV is shorter than 5 characters, the CVV is padded on the right by space characters. The CVV is returned in the 5-byte variable that the CVV_value parameter identifies. When you verify a CVV, compare the result to the value that the CVV_value supplies.

The callable service name for AMODE(64) invocation is CSNECSG.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014