'Declaration
Public Overloads Sub SavePrivateKey( _ ByVal filePath As System.String, _ ByVal password As System.String, _ ByVal format As SshPrivateKeyFormat _ )
'Usage
Dim instance As Credential Dim filePath As System.String Dim password As System.String Dim format As SshPrivateKeyFormat instance.SavePrivateKey(filePath, password, format)
public void SavePrivateKey( System.string filePath, System.string password, SshPrivateKeyFormat format )
Parameters
- filePath
- The path to the file to be written.
- password
- A password which will be used to encrypt the key.
- format
- The desired output format for the key. Options include OpenSsh, PKCS8 and Putty.