C# Class Granados.Poderosa.KeyFormat.OpenSSHPrivateKeyLoader

OpenSSH SSH2 private key loader
Inheritance: ISSH2PrivateKeyLoader
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
Load ( string passphrase, KeyPair &keyPair, string &comment ) : void

Read OpenSSH SSH2 private key parameters.

OpenSSHPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System

Constructor

Private Methods

Méthode Description
GetStreamReader ( ) : StreamReader

Method Details

Load() public méthode

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
Résultat void

OpenSSHPrivateKeyLoader() public méthode

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