Certificate class

A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.

Constructors

Certificate({String? issuer, String? notAfterTime, String? notBeforeTime, bool? parsed, String? rawDer, String? serialNumber, String? sha256Fingerprint, String? subject, List<String>? subjectAlternativeDnsNames})
Certificate.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
issuer String?
The issuer distinguished name in RFC 2253 format.
getter/setter pair
notAfterTime String?
The certificate is not valid after this time.
getter/setter pair
notBeforeTime String?
The certificate is not valid before this time.
getter/setter pair
parsed bool?
True if the certificate was parsed successfully.
getter/setter pair
rawDer String?
The raw certificate bytes in DER format.
getter/setter pair
rawDerAsBytes List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String?
The certificate serial number as a hex string.
getter/setter pair
sha256Fingerprint String?
The SHA-256 certificate fingerprint as a hex string.
getter/setter pair
subject String?
The subject distinguished name in RFC 2253 format.
getter/setter pair
subjectAlternativeDnsNames List<String>?
The subject Alternative DNS names.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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