Class TimestampHashAlgorithms
Timestamp hashing algorithms
Inheritance
Namespace: IronPdf.Signing
Assembly: IronPdf.dll
Syntax
public sealed class TimestampHashAlgorithms : Enum
The TimestampHashAlgorithms enumeration in IronPDF selects the digest used when requesting a trusted RFC 3161 timestamp during signing.
Part of the IronPdf.Signing namespace, the 3 members are SHA256, SHA512, and SHA1, with SHA256 recommended for most timestamp authorities and SHA1 retained for legacy TSA compatibility. Assign the chosen member to PdfSignature.TimeStampHashAlgorithm alongside the TSA URL.
See Signing PDFs for C# signing code.
Fields
SHA1
SHA-1 algorithm
Declaration
public const TimestampHashAlgorithms SHA1
Field Value
| Type | Description |
|---|---|
| TimestampHashAlgorithms |
SHA256
SHA-256 algorithm
Declaration
public const TimestampHashAlgorithms SHA256
Field Value
| Type | Description |
|---|---|
| TimestampHashAlgorithms |
SHA512
SHA-512 algorithm
Declaration
public const TimestampHashAlgorithms SHA512
Field Value
| Type | Description |
|---|---|
| TimestampHashAlgorithms |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |