Прочетете на английски Редактиране

Споделяне чрез


PackageDigitalSignature.CertificateEmbeddingOption Property

Definition

Gets the X.509 certificate embedding option.

C#
public System.IO.Packaging.CertificateEmbeddingOption CertificateEmbeddingOption { get; }

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

Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also