Gets the public key derived from the certificate's data. This key cannot be used to sign or decrypt data.

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

Syntax

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

Field Value

A System.Security.Cryptography.RSA that contains the public key derived from the certificate's data.

Exceptions

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

See Also