Back to Devexpress

SignatureOptions.TsaClient Property

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

latest3.3 KB
Original Source

SignatureOptions.TsaClient Property

Gets or sets a timestamp client.

Namespace : DevExpress.Office.DigitalSignatures

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public ITsaClient TsaClient { get; set; }
vb
Public Property TsaClient As ITsaClient

Property Value

TypeDescription
ITsaClient

An object that provides a timestamp.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the TsaClient 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#L36

csharp
if (tsaServer != null)
    options.TsaClient = new TsaClient(tsaServer, HashAlgorithmType.SHA256);

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

csharp
if (tsaServer != null)
    options.TsaClient = new TsaClient(tsaServer, HashAlgorithmType.SHA256);

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

vb
options.Certificate = certificate
If tsaServer IsNot Nothing Then options.TsaClient = New TsaClient(tsaServer, HashAlgorithmType.SHA256)
'In this example, certificate validation is skipped

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

vb
If tsaServer IsNot Nothing Then
    options.TsaClient = New TsaClient(tsaServer, HashAlgorithmType.SHA256)
End If

See Also

SignatureOptions Class

SignatureOptions Members

DevExpress.Office.DigitalSignatures Namespace