officefileapi-devexpress-dot-office-dot-digitalsignatures-dot-signatureoptions.md
Gets or sets the signature certificate.
Namespace : DevExpress.Office.DigitalSignatures
Assembly : DevExpress.Docs.v25.2.dll
NuGet Package : DevExpress.Document.Processor
public X509Certificate2 Certificate { get; set; }
Public Property Certificate As X509Certificate2
| Type | Description |
|---|---|
| X509Certificate2 |
An X.509 signature certificate.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Certificate 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.
word-document-api-sign-document-and-validate-signature/CS/Program.cs#L34
SignatureOptions options = new SignatureOptions();
options.Certificate = certificate;
if (tsaServer != null)
SignatureOptions options = new SignatureOptions();
options.Certificate = certificate;
if (tsaServer != null)
word-document-api-sign-document-and-validate-signature/VB/Program.vb#L34
Dim options As SignatureOptions = New SignatureOptions()
options.Certificate = certificate
If tsaServer IsNot Nothing Then options.TsaClient = New TsaClient(tsaServer, HashAlgorithmType.SHA256)
Dim options As New SignatureOptions()
options.Certificate = certificate
If tsaServer IsNot Nothing Then
See Also