Export (0) Print
Expand All

PackageDigitalSignatureManager Class

Provides a utility class for the creation and verification of digital signatures in a Package.

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

public sealed class PackageDigitalSignatureManager
You cannot directly create an instance of this class in XAML.

PackageDigitalSignatureManager builds on the architecture of Microsoft .NET Framework digital signature classes and provides a utility class for performing common tasks in using digital signatures with Package elements.

For more information about package digital signatures, see the MSDN article Digital Signing Framework of the Open Packaging Conventions available at http://go.microsoft.com/fwlink/?LinkId=74494.

The following example shows how to use the PackageDigitalSignatureManager. For the complete sample, see Creating a Package with a Digital Signature Sample.

// Create the DigitalSignature Manager
PackageDigitalSignatureManager dsm =
    new PackageDigitalSignatureManager(package);
dsm.CertificateOption =
    CertificateEmbeddingOption.InSignaturePart;

System.Object
  System.IO.Packaging.PackageDigitalSignatureManager

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft