C# Class Renci.SshNet.Security.RsaKey

Contains RSA private and public key
Inheritance: Key, IDisposable
Exibir arquivo Open project: sshnet/SSH.NET

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
PrimeExponent ( BigInteger privateExponent, BigInteger prime ) : BigInteger

Method Details

Dispose() public method

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

Dispose() protected method

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.
return void

RsaKey() public method

Initializes a new instance of the RsaKey class.
public RsaKey ( ) : System
return System

RsaKey() public method

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.
return System

RsaKey() public method

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