X509Tbs class
An X.509 Certificate
- Mixed-in types
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
no setter
- asn1Issuer → ASN1Sequence
-
The issuer of the certificate represented as asn1.
no setter
- body → Uint8List
-
The sngned body of the certificate
no setter
- digestAlgorithm → HashAlgorithm
-
The digest Algorithm
no setter
- digestAlgorithmID → ASN1ObjectIdentifier
-
The digest Algorithm ID of the certificate.
no setter
- fingerprint → Uint8List
-
The certificate fingerprint
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
-
issuer
→ Iterable<
MapEntry< ASN1ObjectIdentifier, dynamic> > -
The issuer of the certificate.
no setter
- notAfter → DateTime
-
The end time which this certificate is valid.
no setter
- notBefore → DateTime
-
The start time which this certificate is valid.
no setter
- publicKey → RSAPublicKey
-
The Public Key Algorithm of the certificate.
no setter
- publicKeyAlgorithmOI → ASN1ObjectIdentifier
-
The Public Key Algorithm of the certificate.
no setter
- publicKeyBytes → Uint8List
-
The Public Key Algorithm of the certificate.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → BigInt
-
The serial number of the certificate.
no setter
- signatureAlgorithmIDParameters → ASN1Object
-
The parameters for the signature algorithm ID of the certificate.
no setter
-
subject
→ Iterable<
MapEntry< ASN1ObjectIdentifier, dynamic> > -
The subject of the certificate.
no setter
- version → int
-
The version number of the certificate.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override