PdfEuTrustListSnapshot class
A verified set of EU trust anchors, with the per-list problems met while building it.
Constructors
-
PdfEuTrustListSnapshot({required List<
PdfTrustListEntry> entries, required DateTime fetchedAt, int? lotlSequenceNumber, DateTime? lotlIssued, DateTime? lotlNextUpdate, DateTime? expires, Map<String, String> problems = const {}}) - PdfEuTrustListSnapshot.fromPem(String pem)
-
Reads a toPem bundle back.
factory
Properties
-
entries
→ List<
PdfTrustListEntry> -
final
- expires → DateTime?
-
The earliest NextUpdate among the LOTL and every list whose anchors
are included - past it (plus pdfTrustListExpiryGrace) some of those
lists are expired and the snapshot must not be used.
final
- fetchedAt → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lotlIssued → DateTime?
-
final
- lotlNextUpdate → DateTime?
-
final
- lotlSequenceNumber → int?
-
final
-
problems
→ Map<
String, String> -
Territory (or
EUfor the LOTL) -> why that list was skipped.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isCurrentAt(
DateTime now) → bool -
Whether the snapshot is still within every included list's validity at
now. A snapshot with no recorded expiry is never current. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPem(
) → String -
A PEM bundle with provenance comments - the cache / hand-off format
PdfEuTrustListSnapshot.fromPem and
PdfTrustStore.addPemread. -
toString(
) → String -
A string representation of this object.
inherited
-
toTrustStore(
) → PdfTrustStore - A trust store anchored at every entry.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited