Redigera

Dela via


SignerInfo.Certificate Property

Definition

The Certificate property retrieves the signing certificate associated with the signer information.

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ Certificate { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate2? Certificate { get; }
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate2
Public ReadOnly Property Certificate As X509Certificate2

Property Value

An X509Certificate2 object that represents the signing certificate.

Remarks

If the signing certificate is not included at signing time by using the CmsSigner.IncludeOption property, then the certificate will not be returned.

Applies to

See also