X509Tbs class Null safety

An X.509 Certificate

Mixed in types
Implementers

Constructors

X509Tbs(ASN1Sequence _tbs)
Creates a certificate from an ASN1Sequence.
X509Tbs.fromDer(Uint8List der)
Creates a X.509 Certificate from DER encoded bytes.
factory
X509Tbs.fromPem(String pem)
Creates a certificate from a PEM encoded string.
factory

Properties

asn1 ASN1Sequence
The X509 TBS certificate asn1 object
read-only
asn1Issuer ASN1Sequence
The issuer of the certificate represented as asn1.
read-only
body Uint8List
The sngned body of the certificate
read-only
digestAlgorithm HashAlgorithm
The digest Algorithm
read-only
digestAlgorithmID ASN1ObjectIdentifier
The digest Algorithm ID of the certificate.
read-only
fingerprint Uint8List
The certificate fingerprint
read-only
hashCode int
The hash code for this object.
read-onlyoverride
issuer Iterable<MapEntry<ASN1ObjectIdentifier, dynamic>>
The issuer of the certificate.
read-only
notAfter DateTime
The end time which this certificate is valid.
read-only
notBefore DateTime
The start time which this certificate is valid.
read-only
publicKey RSAPublicKey
The Public Key Algorithm of the certificate.
read-only
publicKeyAlgorithmOI ASN1ObjectIdentifier
The Public Key Algorithm of the certificate.
read-only
publicKeyBytes Uint8List
The Public Key Algorithm of the certificate.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
serialNumber BigInt
The serial number of the certificate.
read-only
signatureAlgorithmIDParameters ASN1Object
The parameters for the signature algorithm ID of the certificate.
read-only
subject Iterable<MapEntry<ASN1ObjectIdentifier, dynamic>>
The subject of the certificate.
read-only
version int
The version number of the certificate.
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.
override

Operators

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