...
- Get the firmware version with the Get Version: Protocol 2 (29-00) command.
- Send the Get Data Encryption Enable Flag (C7-37) command (see above under NEO 1 products for Non-SRED version devices).
- Send the Retrieve Key Info (81-0C) command.
This command retrieves basic key information. Each pair of three bytes represents one key’s parameters (index and slot).
For example, 0x02 0x00 0x00 0x02 0x00 0x01 will represent [KeyIndex=0x02,KeySlot=0x0000] and [KeyIndex=0x02,KeySlot=0x0001].
- Send the 81-0B command with the corresponding key index and key slot (e.g. 020000 for data key) to retrieve the DUKPT key KSN Get DUKPT Key KSN Extended (81-0B) Get DUKPT Key KSN Extended (81-0B) GGet DUKPT Key KSN Extended (81-0B) et DUKPT Key KSN Extended (81-0B)
Send the Retrieve Detailed Key Info (81-0D) command to retrieve the Key Block Header of the specific key index or slot provided in the command frame. The Key Block Header contains information such as the type of encryption (TDES/AES), Key Variant, and so on.
...