PackageDigitalSignature Class
Represents a digital signature that is applied to a set of package parts and relationships.
Assembly: WindowsBase (in WindowsBase.dll)
A PackageDigitalSignature object is immutable and cannot be altered after it is created.
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 fails if the part has changed in any way. The application can then take appropriate action—for example, it can prevent the part from opening or it 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.
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.