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 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

NameTypeAccessDescription
ServerUrlstringRead/WriteTSA service URL (e.g.
BasicAuthCredentialsstringRead/WriteOptional Base64 BasicAuth value ("<user>:<pass>" Base64-encoded) injected as Authorization: Basic <value>.
DigestHashAlgorithmDigestHashAlgorithmRead/WriteDigest algorithm requested from the TSA for the timestamp’s messageImprint.

Methods

SignatureDescription
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).

See Also

 English