RsaPrivateKey Class

Represents an RSA private key object.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public sealed class RsaPrivateKey : AsymmetricKeyPair
Inheritance
Object    AsymmetricKeyPair    RsaPrivateKey

Constructors

RsaPrivateKey(Byte) Initializes a new instance of RsaPrivateKey from a PKCS#1 or unencrypted PKCS#8 format.
RsaPrivateKey(RSA) Initializes a new instance of RsaPrivateKey from an existing RSA key.

Properties

KeyFormat Gets the private key format.
Oid Gets the algorithm identifier for the asymmetric algorithm group stored in the current object.
(Inherited from AsymmetricKeyPair)
PublicOnly Gets the value that indicates whether the current object stores only public part of key material. If False, then object contains both, public and private components.
(Inherited from AsymmetricKeyPair)

Methods

DisposeReleases all resources used by the RsaPrivateKey
(Overrides AsymmetricKeyPairDispose)
Equals
(Inherited from Object)
GetAsymmetricKey Gets the implementation object for the current asymmetric algorithm.
(Overrides AsymmetricKeyPairGetAsymmetricKey)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also