Click or drag to resize

X509CertificateRequestPkcs10PublicKey Property

Gets a PublicKey object associated with a certificate

Namespace:  SysadminsLV.PKI.Cryptography.X509CertificateRequests
Assembly:  PKI.Core (in PKI.Core.dll) Version: (
public PublicKey PublicKey { get; protected set; }

Property Value

Type: PublicKey

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