TimestampResponse class Null safety

Manage Pkcs Timestamping

Mixed in types

Constructors

TimestampResponse(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
read-only
der Uint8List
DER representation of the Timestamp
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeStampToken ASN1Sequence
ASN1 object representing the timeStampToken
read-only

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