VCFConformance class
Everything needed to decide whether this card is servable, and whether two implementations produced the same bytes.
Constructors
-
VCFConformance(List<
int> bytes) -
factory
Properties
- BYTE_BUDGET → int
-
Octet ceiling of the surface this card was produced for. 0 means the
publisher states no ceiling; it never means a ceiling of zero.
no setter
- BYTE_LENGTH → int
-
Octet length of
CARDexactly as emitted, folding and terminators included. This is the number a serving surface budgets against.no setter - byteBudget → int
-
no setter
- byteLength → int
-
no setter
- CARD_SHA256 → String?
-
SHA-256 of
CARDas 64 lowercase hexadecimal characters. This is the value two implementations compare to prove byte-identical projection.no setter - cardSha256 → String?
-
no setter
- CARRIES_VERIFICATION_CHAIN → bool
-
Whether the card carries a complete verification chain: a signing-key row,
an encryption-key row, and a profile-signature row, all present in the
UNFOLDED text. A card without all three cannot verify its own subject and
is not servable as an identity card.
no setter
- carriesVerificationChain → bool
-
no setter
- FOLD_OCTET_WIDTH → int
-
Octet width beyond which a content line is folded onto continuation lines.
0 means the publisher folded nothing, which is non-canonical.
no setter
- foldOctetWidth → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- LINE_ENDING → vcfLineEnding
-
Line terminator the card text uses.
no setter
- lineEnding → vcfLineEnding
-
no setter
- PROFILE → String?
-
Identifier of the emission profile the card conforms to, verbatim, naming
the annex revision the publisher implemented.
no setter
- PROPERTY_COUNT → int
-
Number of property rows emitted, unfolded. Carried so a truncated card is
detectable before parsing.
no setter
- propertyCount → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- UNFOLDED_BYTE_LENGTH → int
-
Octet length the same card would have with folding removed. Carried so a
folding disagreement is detectable without unfolding the text.
no setter
- unfoldedByteLength → int
-
no setter
- VERSION → String?
-
Card format version token verbatim as emitted, e.g.
3.0.no setter - WITHIN_BYTE_BUDGET → bool
-
Whether BYTE_LENGTH is within BYTE_BUDGET. False with a non-zero budget
means the card is a valid record that is NOT servable on that surface.
no setter
- withinByteBudget → bool
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
VCFConformance>