TimestampToken class
The TSTInfo carried by a time-stamp token.
Constructors
- TimestampToken({required Uint8List der, required DateTime genTime, required BigInt serialNumber, required String policyOid, required String hashAlgorithm, required Uint8List messageImprint, required BigInt? nonce, required TimestampAccuracy? accuracy, required bool ordering, required int version})
-
const
Properties
- accuracy → TimestampAccuracy?
-
Declared accuracy of genTime, or
nullwhen the TSA omitted it.final - der → Uint8List
-
DER of the token itself (a CMS/PKCS#7 SignedData), which is what gets
archived alongside the signature.
final
- genTime → DateTime
-
Time asserted by the TSA, in UTC.
final
- hashAlgorithm → String
-
Digest algorithm of messageImprint.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageImprint → Uint8List
-
The hash that was time-stamped.
final
- nonce → BigInt?
-
Nonce echoed back from the request, or
nullwhen there was none.final - ordering → bool
-
orderingflag: whether tokens from this TSA can be ordered by time alone, without comparing accuracies.final - policyOid → String
-
Policy under which the token was issued.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → BigInt
-
Serial number assigned by the TSA.
final
- version → int
-
TSTInfoversion, normally 1.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited