Gets the private key for the certificate.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public RSA PrivateKey { get; }
Visual Basic
Public ReadOnly Property PrivateKey As RSA
	Get
Visual C++
public:
property RSA^ PrivateKey {
	RSA^ get ();
}

Field Value

A System.Security.Cryptography.RSA containing the private key for the certificate.

Exceptions

ExceptionCondition
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while retrieving the RSA instance associated with the certificate.

See Also