C# Class Renci.SshNet.Security.RsaKey

Contains RSA private and public key
Inheritance: Key, IDisposable
Afficher le fichier Open project: sshnet/SSH.NET

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RsaKey ( ) : System

Initializes a new instance of the RsaKey class.

RsaKey ( BigInteger modulus, BigInteger exponent, BigInteger d, BigInteger p, BigInteger q, BigInteger inverseQ ) : System

Initializes a new instance of the RsaKey class.

RsaKey ( byte data ) : System

Initializes a new instance of the RsaKey class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Méthode Description
PrimeExponent ( BigInteger privateExponent, BigInteger prime ) : BigInteger

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

RsaKey() public méthode

Initializes a new instance of the RsaKey class.
public RsaKey ( ) : System
Résultat System

RsaKey() public méthode

Initializes a new instance of the RsaKey class.
public RsaKey ( BigInteger modulus, BigInteger exponent, BigInteger d, BigInteger p, BigInteger q, BigInteger inverseQ ) : System
modulus BigInteger The modulus.
exponent BigInteger The exponent.
d BigInteger The d.
p BigInteger The p.
q BigInteger The q.
inverseQ BigInteger The inverse Q.
Résultat System

RsaKey() public méthode

Initializes a new instance of the RsaKey class.
public RsaKey ( byte data ) : System
data byte DER encoded private key data.
Résultat System