C# Class dlech.SshAgentLib.PpkFormatter

Used to read PuTTY Private Key (.ppk) files
Inheritance: KeyFormatter
Mostrar archivo Open project: dlech/SshAgentLib Class Usage Examples

Public Methods

Method Description
Deserialize ( Stream aStream ) : object

Parses the data from a PuTTY Private Key (.ppk) file.

Serialize ( Stream aStream, object aObject ) : void

Private Methods

Method Description
CreateCipherKeyPair ( PublicKeyAlgorithm algorithm, byte publicKeyBlob, byte privateKeyBlob ) : AsymmetricCipherKeyPair
DecryptPrivateKey ( System.IO.FileData &fileData ) : void
VerifyIntegrity ( System.IO.FileData fileData ) : void

Method Details

Deserialize() public method

Parses the data from a PuTTY Private Key (.ppk) file.
/// there was a problem parsing the file data /// /// data is encrypted and passphrase callback is null ///
public Deserialize ( Stream aStream ) : object
aStream Stream
return object

Serialize() public method

public Serialize ( Stream aStream, object aObject ) : void
aStream Stream
aObject object
return void