C# Class Granados.Poderosa.KeyFormat.SSHComPrivateKeyLoader

SSH.com SSH2 private key loader
Inheritance: ISSH2PrivateKeyLoader
显示文件 Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

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

Read SSH.com SSH2 private key parameters.

SSHComPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System

Constructor

Private Methods

Method Description
GetStreamReader ( ) : StreamReader
ReadBigIntWithBits ( Granados.IO.SSH2.SSH2DataReader reader ) : BigInteger

Reads a multiple precision integer.

Method Details

Load() public method

Read SSH.com SSH2 private key parameters.
failed to parse
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

SSHComPrivateKeyLoader() public method

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