PackageDigitalSignature.CertificateEmbeddingOption Property

Gets the X.509 certificate embedding option.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

'Declaration
Public ReadOnly Property CertificateEmbeddingOption As CertificateEmbeddingOption

Property Value

Type: System.IO.Packaging.CertificateEmbeddingOption
One of the CertificateEmbeddingOption values that specifies the option for the digital signature.

ExceptionCondition
InvalidOperationException

The digital Signature has been deleted.

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft