X509CertificateRequestPkcs10PublicKey Property

Gets a PublicKey object associated with a certificate

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public PublicKey PublicKey { get; protected set; }

Property Value

PublicKey

Remarks

This property returns a PublicKey object, which contains the object identifier (Oid) representing the public key algorithm, the ASN.1-encoded parameters, and the ASN.1-encoded key value.

You can also obtain the key as an AsymmetricAlgorithm object by referencing the PublicKey property. This property supports only RSA or DSA keys, so it returns either an RSACryptoServiceProvider or a DSACryptoServiceProvider object that represents the public key.

See Also