Edit

Share via


PackageDigitalSignature.CertificateEmbeddingOption Property

Definition

Gets the X.509 certificate embedding option.

public:
 property System::IO::Packaging::CertificateEmbeddingOption CertificateEmbeddingOption { System::IO::Packaging::CertificateEmbeddingOption get(); };
public System.IO.Packaging.CertificateEmbeddingOption CertificateEmbeddingOption { get; }
member this.CertificateEmbeddingOption : System.IO.Packaging.CertificateEmbeddingOption
Public ReadOnly Property CertificateEmbeddingOption As CertificateEmbeddingOption

Property Value

One of the CertificateEmbeddingOption values that specifies the option for the digital signature.

Exceptions

The digital Signature has been deleted.

Remarks

X.509 certificates used to validate a package can be stored in one of three locations:

Embedding option Location
InCertificatePart In its own certificate PackagePart in the package.

The X.509 certificate can be obtained through the Signer property.
InSignaturePart Within the content of the SignaturePart in the package.

The X.509 certificate can be obtained through the Signer property.
NotEmbedded External to the package in a location known by both the application that creates the signature and the application that later uses the signature for validation.

Applies to

See also