Back to Devexpress

SignatureOptions.Certificate Property

officefileapi-devexpress-dot-office-dot-digitalsignatures-dot-signatureoptions.md

latest3.4 KB
Original Source

SignatureOptions.Certificate Property

Gets or sets the signature certificate.

Namespace : DevExpress.Office.DigitalSignatures

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public X509Certificate2 Certificate { get; set; }
vb
Public Property Certificate As X509Certificate2

Property Value

TypeDescription
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

csharp
SignatureOptions options = new SignatureOptions();
options.Certificate = certificate;
if (tsaServer != null)

spreadsheet-document-api-sign-workbook-and-validate-signature/CS/WorkbookDigitalSignatureSample/Program.cs#L39

csharp
SignatureOptions options = new SignatureOptions();
options.Certificate = certificate;
if (tsaServer != null)

word-document-api-sign-document-and-validate-signature/VB/Program.vb#L34

vb
Dim options As SignatureOptions = New SignatureOptions()
options.Certificate = certificate
If tsaServer IsNot Nothing Then options.TsaClient = New TsaClient(tsaServer, HashAlgorithmType.SHA256)

spreadsheet-document-api-sign-workbook-and-validate-signature/VB/WorkbookDigitalSignatureSample/Program.vb#L34

vb
Dim options As New SignatureOptions()
options.Certificate = certificate
If tsaServer IsNot Nothing Then

See Also

SignatureOptions Class

SignatureOptions Members

DevExpress.Office.DigitalSignatures Namespace