edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

PrivateKeyFactoryGetKeyPair Method (String, String)

Get the key pair from the private key file

Namespace:  EnterpriseDT.Net.Ftp.Ssh
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public KeyPair GetKeyPair(
	string privateKeyFile,
	string passphrase
)

Parameters

privateKeyFile
Type: SystemString
keyfile name
passphrase
Type: SystemString
passphrase for key

Return Value

Type: KeyPair
the key pair
See Also