ExportBytes Method
Writes the key to a memory buffer.
Object Oriented Interface
public function doExportBytes($keytype, $password);
Procedural Interface
secureblackboxlite_sshkeymanager_do_exportbytes($res, $keytype, $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 |