Exports the Exchange key pair and the Signature key pair in the key container to a file.
Syntax:
Parameters:
Returns:
Returns 1 if successful, 0 if it fails.
Remarks:
The exported file has the following structure:
- Position 01 - 06: "EDIdEv"
- Position 07 - 32: Date-Time Stamp - YYYYMMDDHHNNSSTTTZZZ+XXXX.
- Position 33 - 37: Exchange key (AT_KEYEXCHANGE) indicator.
- Position 37 - 41: Length of Exchange (AT_KEYEXCHANGE) key blob (N1).
- Position 41 - N1: Exchange key public/private (AT_KEYEXCHANGE) key blob.
- Position N1 - N1+41: Signature key (AT_SIGNATURE) indicator.
- Position N1+41 - N1+45: Length of Signture (AT_SIGNATURE) key blob (N2)
- Position N1+45 - N1+45 + N2: Signture key public/private (AT_SIGNATURE) key blob.