C# Class Granados.Poderosa.KeyFormat.OpenSSHPrivateKeyLoader

OpenSSH SSH2 private key loader
Inheritance: ISSH2PrivateKeyLoader
Mostra file Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
Load ( string passphrase, KeyPair &keyPair, string &comment ) : void

Read OpenSSH SSH2 private key parameters.

OpenSSHPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System

Constructor

Private Methods

Method Description
GetStreamReader ( ) : StreamReader

Method Details

Load() public method

Read OpenSSH SSH2 private key parameters.
public Load ( string passphrase, KeyPair &keyPair, string &comment ) : void
passphrase string passphrase for decrypt the key file
keyPair Granados.PKI.KeyPair key pair
comment string comment or empty if it didn't exist
return void

OpenSSHPrivateKeyLoader() public method

Constructor
public OpenSSHPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System
keyFile byte key file data
keyFilePath string Path of a key file
return System