Gets the private key for the certificate.
Namespace: LLCryptoLib.Security.CertificatesAssembly: 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
| Exception | Condition |
|---|---|
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while retrieving the RSA instance associated with the certificate. |