---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/TimestampSettings
---

# 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 provides 2 methods for working with TimestampSettings objects in .NET programs.
Available methods include: `TimestampSettings`.
All 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 ("&lt;user&gt;:&lt;pass&gt;" Base64-encoded) injected as Authorization: Basic &lt;value&gt;. |
| `DigestHashAlgorithm` | `DigestHashAlgorithm` | Read/Write | Digest algorithm requested from the TSA for the timestamp's messageImprint. |

## Methods

| Signature | Description |
|-----------|-------------|
| `TimestampSettings()` | Calls TimestampSettings on this TimestampSettings instance. |
| `TimestampSettings(serverUrl: string, basicAuthCredentials: string, digestHashAlgorithm: DigestHashAlgorithm)` |  |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)