TimestampSettings
Overview
TimestampSettings is a class in Aspose.PDF FOSS for .NET.
RFC 3161 Time-Stamp Authority (TSA) settings consumed by the signer when embedding a timestamp token into the PKCS#7 envelope.
This class declares 2 methods for TimestampSettings objects in .NET programs.
Available methods include: TimestampSettings.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: BasicAuthCredentials, DigestHashAlgorithm, ServerUrl.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ServerUrl | string | Read/Write | TSA service URL (e.g. |
BasicAuthCredentials | string | Read/Write | Optional Base64 BasicAuth value ("<user>:<pass>" Base64-encoded) injected as Authorization: Basic <value>. |
DigestHashAlgorithm | DigestHashAlgorithm | Read/Write | Digest algorithm requested from the TSA for the timestamp’s messageImprint. |
Methods
| Signature | Description |
|---|---|
TimestampSettings() | Creates empty timestamp settings (no server URL, no credentials, SHA-256 digest). |
TimestampSettings(serverUrl: string, basicAuthCredentials: string, digestHashAlgorithm: DigestHashAlgorithm) | Creates timestamp settings for the given TSA server URL, Base64 BasicAuth credentials and digest algorithm (SHA-256 by default). |