PackageDigitalSignature.CertificateEmbeddingOption Property
Gets the X.509 certificate embedding option.
Assembly: WindowsBase (in WindowsBase.dll)
You cannot set this property in XAML.
Property Value
Type: System.IO.Packaging.CertificateEmbeddingOptionOne of the CertificateEmbeddingOption values that specifies the option for the digital signature.
| Exception | Condition |
|---|---|
| InvalidOperationException | The digital Signature has been deleted. |
X.509 certificates used to validate a package may be stored in one of three locations:
In its own certificate PackagePart in the package. The X.509 certificate can be obtained through the Signer property. | |
Within the content of the SignaturePart in the package. The X.509 certificate can be obtained through the Signer property. | |
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. |
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.