XpsDigSigPartAlteringRestrictions Enumeration

XpsDigSigPartAlteringRestrictions Enumeration


Specifies the parts of the XPS Package that are excluded from the range of a digital signature.

Namespace:   System.Windows.Xps.Packaging
Assembly:  ReachFramework (in ReachFramework.dll)

public enum XpsDigSigPartAlteringRestrictions

Member nameDescription

The Annotations part is excluded.


The Core Properties part is excluded.


No parts are excluded.


The Signature Origin part is excluded.

This enumeration has a FlagsAttribute that allows a bitwise combination of its member values.

Parts that are specified as excluded from the digital signature can be modified without invalidating the signature. For example, if a document is to be signed by more than one person, the SignatureOrigin part needs to be excluded from the signature when the document is first signed. (Exclusions are specified in the restrictions parameter of the call to SignDigitally.) If the SignatureOrigin part is not excluded, any additional signatures invalidate the signature of the first signer.

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

For more information on the Core Properties and Signature Origin parts, see Chapter 3 of the Open Packaging Conventions specification available for download at http://go.microsoft.com/fwlink/?LinkID=71255.

Legacy Code Example

The following example shows how to use this enumeration to digitally sign an XPS document.

Code snippet is not found. Confirm that the code snippet name 'XpsReadWriteSign' is correct.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft