CertificateInfo class

Represents a certificate reference for signing operations.

This does not hold the actual certificate data — it references a certificate stored in a platform keystore or provided as PEM bytes.

Constructors

CertificateInfo({required String id, required SigningAlgorithm algorithm, String? commonName, String? issuer, DateTime? validFrom, DateTime? validUntil})
Creates an instance of CertificateInfo.
const

Properties

algorithm SigningAlgorithm
The signing algorithm associated with this certificate's key.
final
commonName String?
The common name (CN) from the certificate subject.
final
hashCode int
The hash code for this object.
no setterinherited
id String
Platform-specific identifier (Keychain label or Keystore alias).
final
issuer String?
The issuer distinguished name.
final
isValid bool
Whether the certificate is currently valid based on its dates.
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
validFrom DateTime?
Certificate validity start date.
final
validUntil DateTime?
Certificate validity end date.
final

Methods

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

Operators

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