officefileapi-devexpress-dot-office-dot-digitalsignatures-a5724bf6.md
Contains signature policy options.
Namespace : DevExpress.Office.DigitalSignatures
Assembly : DevExpress.Docs.v25.2.dll
NuGet Package : DevExpress.Document.Processor
public class SignaturePolicy
Public Class SignaturePolicy
The following members return SignaturePolicy objects:
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 following code snippet defines the signature policy:
SignatureInfo signatureInfo = new SignatureInfo();
SignaturePolicy policy = signatureInfo.Policy;
policy.IsImplied = false;
policy.Identifier = "https://...";
policy.DigestMethod = HashAlgorithmType.SHA384;
Dim signatureInfo As New SignatureInfo()
Dim policy As SignaturePolicy = signatureInfo.Policy
policy.IsImplied = False
policy.Identifier = "https://..."
policy.DigestMethod = HashAlgorithmType.SHA384
Object SignaturePolicy
See Also