Skip to main content
All docs
V24.1

SignatureOptions.SignatureFlags Property

Gets or sets the flags that specify additional signature creation actions.

Namespace: DevExpress.Office.DigitalSignatures

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public SignatureFlags SignatureFlags { get; set; }

Property Value

Type Description
SignatureFlags

An enumeration value that indicates additional signature creation actions.

Available values:

Name Description
None

No action is required.

ValidateCertificate

Validate a certificate before adding it to the signature.

IncludeTimestamp

Include a timestamp in a signature.

EmbedCertificateChain

Embed the whole certificate chain, including the root certificate.

EmbedCertificateCRL

Embed the whole certificate revocation list (CRL) for a certificate.

EmbedCertificateOCSP

Embed the Online Certificate Status Protocol (OCSP) request for a certificate.

EmbedTimestampCertificateChain

Embed the whole timestamp certificate chain, including the root certificate.

EmbedTimestampCertificateCRL

Embed the whole certificate revocation list (CRL) for a timestamp certificate.

EmbedTimestampCertificateOCSP

Embed the Online Certificate Status Protocol (OCSP) request for a timestamp certificate.

All

Perform all actions in this list.

Remarks

Use the SignatureFlags to skip signature creation stages. The default property value is SignatureFlags.All.

The code sample below skips certificate validation before adding it to the signature:

SignatureOptions options = new SignatureOptions();
options.SignatureFlags &= ~SignatureFlags.ValidateCertificate;

The following code snippets (auto-collected from DevExpress Examples) contain references to the SignatureFlags property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also