Valid keys for cryptographic operations
Certain keys can only be used for certain operations. Additionally, some operations may limit the key modes of use for keys. Please see the following table for allowed combinations.
Note
Certain combinations, although permitted, may create unusable situations such as generating
CVV codes (generate) but then unable to verify them (verify).
Topics
GenerateCardData
| API Endpoint | Cryptographic Operation or Algorithm | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|---|
| GenerateCardData |
|
TR31_C0_CARD_VERIFICATION_KEY |
|
{ Generate = true },{ Generate = true, Verify = true } |
| GenerateCardData |
|
TR31_C0_CARD_VERIFICATION_KEY |
|
{ Generate = true },{ Generate = true, Verify = true } |
| GenerateCardData |
|
TR31_E6_EMV_MKEY_OTHER |
|
{ DeriveKey = true } |
| GenerateCardData |
|
TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS |
|
{ DeriveKey = true } |
| GenerateCardData |
|
TR31_E6_EMV_MKEY_OTHER |
|
{ DeriveKey = true } |
VerifyCardData
| Cryptographic Operation or Algorithm | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|
|
TR31_C0_CARD_VERIFICATION_KEY |
|
{ Generate = true },{ Generate = true, Verify = true } |
|
TR31_C0_CARD_VERIFICATION_KEY |
|
{ Generate = true },{ Generate = true, Verify = true } |
|
TR31_E6_EMV_MKEY_OTHER |
|
{ DeriveKey = true } |
|
TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS |
|
{ DeriveKey = true } |
|
TR31_E6_EMV_MKEY_OTHER |
|
{ DeriveKey = true } |
GeneratePinData (for VISA/ABA schemes)
VISA_PIN or VISA_PIN_VERIFICATION_VALUE
| Key Type | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|
|
PIN Encryption Key |
TR31_P0_PIN_ENCRYPTION_KEY |
|
|
|
PIN Generation Key |
TR31_V2_VISA_PIN_VERIFICATION_KEY |
|
|
GeneratePinData (for IBM3624)
IBM3624_PIN_OFFSET,IBM3624_NATURAL_PIN,IBM3624_RANDOM_PIN, IBM3624_PIN_FROM_OFFSET)
| Key Type | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|
|
PIN Encryption Key |
TR31_P0_PIN_ENCRYPTION_KEY |
|
For IBM3624_NATURAL_PIN, IBM3624_RANDOM_PIN, IBM3624_PIN_FROM_OFFSET
For IBM3624_PIN_OFFSET
|
|
PIN Generation Key |
TR31_V1_IBM3624_PIN_VERIFICATION_KEY |
|
|
VerifyPinData (for VISA/ABA schemes)
VISA_PIN
| Key Type | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|
|
PIN Encryption Key |
TR31_P0_PIN_ENCRYPTION_KEY |
|
|
|
PIN Generation Key |
TR31_V2_VISA_PIN_VERIFICATION_KEY |
|
|
VerifyPinData (for IBM3624)
IBM3624_PIN_OFFSET,IBM3624_NATURAL_PIN,IBM3624_RANDOM_PIN, IBM3624_PIN_FROM_OFFSET)
| Key Type | Allowed Key Usage | Allowed Key Algorithm | Allowed combination of key modes of use |
|---|---|---|---|
|
PIN Encryption Key |