TimestampResponse class

Manage Pkcs Timestamping

Mixed-in types

Constructors

TimestampResponse.new(ASN1Sequence _asn1)
Creates a Timestamp from an ASN1Sequence.
const
TimestampResponse.fromDer(Uint8List der)
Creates a Timestamp from DER encoded bytes.
factory

Properties

asn1 ASN1Sequence
ASN1 object representing the Timestamp Response
no setter
der Uint8List
DER representation of the Timestamp
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeStampToken ASN1Sequence
ASN1 object representing the timeStampToken
no setter

Methods

asn1ToDart(ASN1Object obj) → dynamic
inherited
asn1ToString(dynamic obj) String
inherited
commonDigestAlgorithm(ASN1ObjectIdentifier signatureAlgorithmID) HashAlgorithm
inherited
derEncode(Uint8List hash, HashAlgorithm digest) Uint8List
Encode a hash to a DER message
inherited
digestIdentifierHex(HashAlgorithm algorithm) String
inherited
getDigest(HashAlgorithm digestAlgorithm) Digest
inherited
listEquality(Uint8List f, Uint8List o) bool
Test if two lists are equal
inherited
namesFromAsn1(ASN1Sequence sequence) Iterable<MapEntry<ASN1ObjectIdentifier, dynamic>>
Parse a list of names
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
padText(String s, int amount) String
inherited
toHex(Iterable<int>? list) String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

generateRequest(HashAlgorithm digestAlgorithm, Uint8List digest) Uint8List
Generate a TS request message