CertificateResponse class

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

Constructors

CertificateResponse({required Input<String> issuer, required Input<String> notAfterTime, required Input<String> notBeforeTime, required Input<bool> parsed, required Input<String> rawDer, required Input<String> serialNumber, required Input<String> sha256Fingerprint, required Input<String> subject, required Input<List<String>> subjectAlternativeDnsNames})
Creates a new CertificateResponse. issuer The issuer distinguished name in RFC 2253 format. Only present if parsed is true. notAfterTime The certificate is not valid after this time. Only present if parsed is true. notBeforeTime The certificate is not valid before this time. Only present if parsed is true. parsed True if the certificate was parsed successfully. rawDer The raw certificate bytes in DER format. serialNumber The certificate serial number as a hex string. Only present if parsed is true. sha256Fingerprint The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true. subject The subject distinguished name in RFC 2253 format. Only present if parsed is true. subjectAlternativeDnsNames The subject Alternative DNS names. Only present if parsed is true.
const
CertificateResponse.fromMap(Map<String, dynamic> map)
factory

Properties

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

Methods

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

Operators

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