ImportKeyEncAPDU
public ImportKeyEncAPDU(byte p1,
byte p2,
TPSBuffer theData)
Constructs Import Key Encrypted APDU.
CLA 0x80
INS 0x0A
P1 private Key Number (0x00 -0x0F) - key slot number defined in CMS.cfg
P2 public Key Number (0x00 -0x0F) - key slot number defined in CMS.cfg
DATA:
Wrapped Key DesKey
Byte IV_Length
Byte IV_Data
This function allows the import of a key into the card by (over)-writing the Cardlet memory. Object ID 0xFFFFFFFE
needs to be initialized with a key blob before invocation of this function so that it can retrieve the key from
this object. The exact key blob contents depend on the key's algorithm, type and actual import parameters. The
key's number, algorithm type, and parameters are specified by argumetns P1, P2, P3, and DATA. Appropriate values
for these are specified below:
[DATA]
Import Parameters:
...to be provided