Page | 69
Note:
Yellow: Optional block-KeyIndex Green: Optional block-KeySlot Red: Optional block-KSN/KeyID
KBH for Master DUKPT Key: B0136B1TX00E03000108000002080000KS18FFFF9876543210E00000
KBH for PIN DUKPT Key: B0136B1TX00E03000108000102080000KS18FFFF0000000000000000
MK/SK PIN Master Key: B0112K0TB00E02000108000802080000
DATA Pairing DUKPT Key: B0136B1TX00E03000108000402080000KS18FFFF0000000000000000
PIN Pairing DUKPT Key: B0136B1TX00E03000108000302080000KS18FFFF0000000000000000
Command:
Task ID
'65’ or '75’
Function ID
'3B’
‘46’
Length
Length of data
Data
•
Length of Encrypted key ASN.1BLK
•
Encrypted key ASN.1 BLK, using TR31_B
•
Length RKL_DUKPT_KEY_KSN
•
RKL_DUKPT_KEY_KSN
Encrypted key ASN.1 structure::= Sequence {
Encrypted key ASN.1 structure version = 1 (INTEGER) Keys ::= Set {
keyinfo ::= Sequence {
TR31Key = (PRINTABLESTRING)
keyType = (INTEGER)
ksn = (OCTET STRING) -- If keyType is not DUKPT,
00000000000000000000
keySlot = (INTEGER)
keyName = (PRINTABLESTRING) KCV = (OCTET STRING) -- 2 bytes
}
}
}
Response 1:
Result byte
If success, return ACK.
If failed, return NAK <Error Code>
Task ID
'56' or '57'
‘46’
Function ID
‘3B’
Length
Length of data
Data
KCV ASN.1 structure
KCV ASN.1 structure::= Sequence {
KCV ASN.1 structure version = 1 (INTEGER) Keys ::= Set {
keyinfo ::= Sequence {
keyName = (PRINTABLESTRING)
errorCode = (INTEGER) --‘0’ signifies a successful load