Skip to main content
All docs
V22.1
.NET Framework 4.5.2+

SignaturePolicy Class

Contains signature policy options.

Namespace: DevExpress.Office.DigitalSignatures

Assembly: DevExpress.Docs.v22.1.dll

Declaration

public class SignaturePolicy

Remarks

Use the SignaturePolicy class options to specify the role and commitments that the signer assumes with regards to the signed data object.

Set the SignaturePolicy.IsImplied property to false to indicate the identifier and hash value identifies the policy. Otherwise, the SignaturePolicy.Identifier and SignaturePolicy.DigestMethod property values are ignored.

The code sample below defines the signature policy:

SignatureInfo signatureInfo = new SignatureInfo();
SignaturePolicy policy = signatureInfo.Policy;
policy.IsImplied = false;
policy.Identifier = "https://...";
policy.DigestMethod = HashAlgorithmType.SHA384;

Inheritance

Object
SignaturePolicy
See Also