Редагувати

Поділитися через


Rfc3161TimestampTokenInfo Class

Definition

Represents the timestamp token information class defined in RFC3161 as TSTInfo.

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

Constructors

Rfc3161TimestampTokenInfo(Oid, Oid, ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>, DateTimeOffset, Nullable<Int64>, Boolean, Nullable<ReadOnlyMemory<Byte>>, Nullable<ReadOnlyMemory<Byte>>, X509ExtensionCollection)

Initializes a new instance of the Rfc3161TimestampTokenInfo class with the specified parameters.

Properties

AccuracyInMicroseconds

Gets the accuracy with which Timestamp is compared.

HasExtensions

Gets a value indicating whether there are any extensions associated with this timestamp token.

HashAlgorithmId

Gets an OID of the hash algorithm.

IsOrdering

Gets a value indicating if every timestamp token from the same TSA can always be ordered based on the Timestamp, regardless of the accuracy. If the value is false, Timestamp indicates when the token has been created by the TSA.

PolicyId

Gets an OID representing the TSA's policy under which the response was produced.

Timestamp

Gets the timestamp encoded in the token.

Version

Gets the version of the timestamp token.

Methods

Encode()

Encodes this object into a TSTInfo value.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetExtensions()

Gets the extension values associated with the timestamp.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMessageHash()

Gets the data representing the message hash.

GetNonce()

Gets the nonce associated with this timestamp token.

GetSerialNumber()

Gets an integer assigned by the TSA to the Rfc3161TimestampTokenInfo.

GetTimestampAuthorityName()

Gets the data representing the hint in the TSA name identification.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryDecode(ReadOnlyMemory<Byte>, Rfc3161TimestampTokenInfo, Int32)

Decodes an encoded TSTInfo value.

TryEncode(Span<Byte>, Int32)

Attempts to encode this object as a TSTInfo value, writing the result into the provided buffer.

Applies to