C# Class Granados.Poderosa.KeyFormat.SSH1PrivateKeyLoader

SSH1 private key loader
Inheritance: ISSH1PrivateKeyLoader
Datei anzeigen Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
Load ( string passphrase, BigInteger &modulus, BigInteger &publicExponent, BigInteger &privateExponent, BigInteger &primeP, BigInteger &primeQ, BigInteger &crtCoefficient, string &comment ) : void

Read SSH1 private key parameters.

SSH1PrivateKeyLoader ( byte keyFile, string keyFilePath ) : System

Constructor

Private Methods

Method Description
SSH1PassphraseToKey ( string passphrase ) : byte[]

Method Details

Load() public method

Read SSH1 private key parameters.
failed to parse
public Load ( string passphrase, BigInteger &modulus, BigInteger &publicExponent, BigInteger &privateExponent, BigInteger &primeP, BigInteger &primeQ, BigInteger &crtCoefficient, string &comment ) : void
passphrase string passphrase for decrypt the key file
modulus Granados.Mono.Math.BigInteger private key parameter
publicExponent Granados.Mono.Math.BigInteger private key parameter
privateExponent Granados.Mono.Math.BigInteger private key parameter
primeP Granados.Mono.Math.BigInteger private key parameter
primeQ Granados.Mono.Math.BigInteger private key parameter
crtCoefficient Granados.Mono.Math.BigInteger private key parameter
comment string comment
return void

SSH1PrivateKeyLoader() public method

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