Method | Description | |
---|---|---|
Load ( string passphrase, |
Read private key parameters with OpenSSH format.
|
|
OpenSSHFileLoader ( byte image ) : System |
Method | Description | |
---|---|---|
AreEqual ( byte a1, byte a2 ) : bool | ||
CheckMagic ( Stream s ) : bool | ||
GetStreamReader ( ) : |
||
ReadBytes ( Stream s ) : byte[] | ||
ReadInt32 ( Stream s, int &val ) : bool | ||
ReadKdfOptions ( byte options, byte &salt, uint &rounds ) : bool | ||
ReadString ( Stream s ) : string | ||
ReadUInt32 ( Stream s, uint &val ) : bool |
public Load ( string passphrase, |
||
passphrase | string | passphrase for decrypt the key file |
keyPair | key pair | |
comment | string | comment or empty if it didn't exist |
return | void |
public OpenSSHFileLoader ( byte image ) : System | ||
image | byte | |
return | System |