C# Class dlech.SshAgentLib.PpkFormatter

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

Méthodes publiques

Méthode Description
Deserialize ( Stream aStream ) : object

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

Serialize ( Stream aStream, object aObject ) : void

Private Methods

Méthode 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 méthode

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
Résultat object

Serialize() public méthode

public Serialize ( Stream aStream, object aObject ) : void
aStream Stream
aObject object
Résultat void