Edit

Share via


Rfc3161TimestampToken Class

Definition

Represents a time-stamp token from IETF RFC 3161.

public ref class Rfc3161TimestampToken sealed
public sealed class Rfc3161TimestampToken
type Rfc3161TimestampToken = class
Public NotInheritable Class Rfc3161TimestampToken
Inheritance
Rfc3161TimestampToken

Properties

TokenInfo

Gets the details of this time-stamp token as a Rfc3161TimestampTokenInfo.

Methods

AsSignedCms()

Gets a Signed Cryptographic Message Syntax (CMS) representation of the RFC3161 time-stamp token.

TryDecode(ReadOnlyMemory<Byte>, Rfc3161TimestampToken, Int32)

Attemps to interpret the contents of encodedBytes as a DER-encoded time-stamp token.

VerifySignatureForData(ReadOnlySpan<Byte>, X509Certificate2, X509Certificate2Collection)

Verifies that the current token is a valid time-stamp token for the provided data.

VerifySignatureForHash(ReadOnlySpan<Byte>, HashAlgorithmName, X509Certificate2, X509Certificate2Collection)

Verifies that the current token is a valid time-stamp token for the provided data hash and algorithm identifier.

VerifySignatureForHash(ReadOnlySpan<Byte>, Oid, X509Certificate2, X509Certificate2Collection)

Verifies that the current token is a valid time-stamp token for the provided data hash and algorithm identifier.

VerifySignatureForSignerInfo(SignerInfo, X509Certificate2, X509Certificate2Collection)

Verifies that the current token is a valid time-stamp token for the provided SignerInfo.

Applies to