แก้ไข

แชร์ผ่าน


XpsDigitalSignature.SignatureOriginRestricted Property

Definition

Gets a value that indicates whether the digital signature is invalidated if someone else signs the package.

public:
 property bool SignatureOriginRestricted { bool get(); };
public bool SignatureOriginRestricted { get; }
member this.SignatureOriginRestricted : bool
Public ReadOnly Property SignatureOriginRestricted As Boolean

Property Value

true if the signature is invalidated if an additional digital signature is applied; otherwise, false.

Remarks

The signature origin restriction is set by the SignDigitally method when called with the restrictions parameter set to exclude the SignatureOrigin part.

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 on the Core Properties and Signature Origin parts, see Chapter 3 of the Open Packaging Conventions specification available for download at https://www.ecma-international.org/publications-and-standards/standards/ecma-376/.

Applies to