Method | Description | |
---|---|---|
Load ( string passphrase, |
Read PuTTY SSH2 private key parameters.
|
|
PuTTYPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System |
Constructor
|
Method | Description | |
---|---|---|
BinToHex ( byte data ) : string | ||
GetStreamReader ( ) : |
||
GetValueOf ( string line ) : string | ||
PuTTYPassphraseToKey ( string passphrase ) : byte[] | ||
ReadBlob ( |
||
ReadHeaderLine ( |
||
ReadItemLine ( |
||
ReadPrivateMACLine ( |
||
Verify ( int version, string privateMac, string privateHash, string passphrase, string keyTypeName, string encryptionName, string comment, byte publicBlob, byte privateBlob ) : bool | ||
WriteMacData ( |
||
WriteMacData ( |
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 PuTTYPrivateKeyLoader ( byte keyFile, string keyFilePath ) : System | ||
keyFile | byte | key file data |
keyFilePath | string | Path of a key file |
return | System |