ExportBytes Method
Writes the key to a memory buffer.
Syntax
public byte[] exportBytes(int keyType, String password);
Remarks
Use this method to save Key in the buffer. KeyType specifies the format in which the key should be stored, and Password is a password to decrypt the private key.
Allowed key types:
cktPrivate | 0 | A private key |
cktPublic | 1 | A public key |