C# 클래스 Granados.Poderosa.KeyFormat.PrivateKeyLoader

파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
LoadSSH1PrivateKey ( string passphrase, BigInteger &modulus, BigInteger &publicExponent, BigInteger &privateExponent, BigInteger &primeP, BigInteger &primeQ, BigInteger &crtCoefficient, string &comment ) : void

Read SSH1 private key parameters.

LoadSSH2PrivateKey ( string passphrase, KeyPair &keyPair, string &comment ) : void

Read SSH2 private key parameters.

PrivateKeyLoader ( string path ) : System

Constructor

ProbeFormat ( ) : PrivateKeyFileFormat

Detect file format of a SSH private key file.

메소드 상세

LoadSSH1PrivateKey() 공개 메소드

Read SSH1 private key parameters.
failed to parse
public LoadSSH1PrivateKey ( string passphrase, BigInteger &modulus, BigInteger &publicExponent, BigInteger &privateExponent, BigInteger &primeP, BigInteger &primeQ, BigInteger &crtCoefficient, string &comment ) : void
passphrase string passphrase for decrypt the key file
modulus BigInteger private key parameter is set
publicExponent BigInteger private key parameter is set
privateExponent BigInteger private key parameter is set
primeP BigInteger private key parameter is set
primeQ BigInteger private key parameter is set
crtCoefficient BigInteger private key parameter is set
comment string comment
리턴 void

LoadSSH2PrivateKey() 공개 메소드

Read SSH2 private key parameters.
failed to parse
public LoadSSH2PrivateKey ( string passphrase, KeyPair &keyPair, string &comment ) : void
passphrase string passphrase for decrypt the key file
keyPair Granados.PKI.KeyPair key pair is set
comment string comment is set. empty if it didn't exist
리턴 void

PrivateKeyLoader() 공개 메소드

Constructor
failed to read the key file
public PrivateKeyLoader ( string path ) : System
path string Path of a key file to load
리턴 System

ProbeFormat() 공개 메소드

Detect file format of a SSH private key file.
File I/O error
public ProbeFormat ( ) : PrivateKeyFileFormat
리턴 PrivateKeyFileFormat