ExportToFile Method
Writes key to file.
Object Oriented Interface
public function doExportToFile($keytype, $path, $password);
Procedural Interface
secureblackbox_sshkeymanager_do_exporttofile($res, $keytype, $path, $password);
Remarks
Use this method to save Key in the file. KeyType specifies the format in which the key should be stored, Path specifies the full path to the file, and Password is a password to decrypt the private key.
Allowed key types:
cktPrivate | 0 | A private key |
cktPublic | 1 | A public key |