Редагувати

Поділитися через


PackageDigitalSignature.Signer Property

Definition

Gets the X.509 certificate of the signer.

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

Property Value

The digital certificate of the signer, or null if the certificate is not stored in the Package.

Exceptions

The digital Signature has been deleted.

Remarks

Signer returns the X.509 certificate of the signer when the digital certificate is stored within the package (that is, when CertificateEmbeddingOption is InCertificatePart or InSignaturePart).

Signer returns null when the X.509 certificate is not stored in the package (that is, when CertificateEmbeddingOption is NotEmbedded).

Applies to