C# Class Granados.Poderosa.KeyFormat.OpenSSHPKCSFileLoader

OpenSSH PEM/PKCS file loader
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode Description
Load ( string passphrase, KeyPair &keyPair, string &comment ) : void

Read private key parameters.

OpenSSHPKCSFileLoader ( byte image ) : System

Private Methods

Méthode Description
GetStreamReader ( ) : StreamReader
HexToByteArray ( string text ) : byte[]
PassphraseToKey ( string passphrase, byte iv, int length ) : byte[]

Method Details

Load() public méthode

Read private key parameters.
public Load ( string passphrase, KeyPair &keyPair, string &comment ) : void
passphrase string passphrase for decrypt the key file
keyPair Granados.PKI.KeyPair key pair
comment string comment or empty if it didn't exist
Résultat void

OpenSSHPKCSFileLoader() public méthode

public OpenSSHPKCSFileLoader ( byte image ) : System
image byte
Résultat System