PackageDigitalSignature Class

Represents a digital signature that is applied to a set of package parts and relationships.

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

public class PackageDigitalSignature
public class PackageDigitalSignature
public class PackageDigitalSignature
You cannot use this managed class in XAML.

The PackageDigitalSignature class is immutable and cannot be altered after it is instantiated.

For security, a PackageDigitalSignature can be associated with parts within a Package. A PackageDigitalSignature incorporates an X.509 certificate that provides two features:

  • Identifies and authenticates the originator of the part.

  • Validates that the part has not been modified.

The digital signature does not preclude a part from being modified, but a validation check against the signature will fail if the part has been changed in any way. The application can then take appropriate action—for example, it can prevent part from opening or can notify the user that the part has been modified and is not secure.

For more information about package digital signatures, see the MSDN article Digital Signing Framework of the Open Packaging Conventions available at


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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions