You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.8 KiB
75 lines
2.8 KiB
/// The DateKeys protocol in pure Dart: DateKey, DateKeyCap (`.dkc`) and the
|
|
/// DateKeys Access Key (`.dkk`), as `datekeys-go` and `datekeys-ts` implement
|
|
/// them, checked against the same test data.
|
|
///
|
|
/// Stages 0 to 4 of docs/PLAN_dart.md: the package and its test data, the
|
|
/// normative errors of spec §69, byte helpers and the CBOR profile of spec
|
|
/// §58, the primitives and the reading of age files, then BLS12-381 and
|
|
/// tlock: the check of a compressed point and the verification of releases,
|
|
/// with the sources that deliver them. Then the key of words of spec §38.1,
|
|
/// and the formats: the frames of the .dkc and the .dkk, PUBLIC_HEADER,
|
|
/// CONTROL_CBOR of the three formats, the .dkk, the extensions with their
|
|
/// registries, the Provider Profile with the pinned Quicknet, the DateKey
|
|
/// with its rounds and times, the padding, the head of format 3 and the
|
|
/// public note. And the reading of a capsule: its inspection, steps 1 to 8
|
|
/// of spec §63, and its opening, steps 9 to 18, in memory or from a source
|
|
/// read by ranges, to a sink of bytes or of files. The signature and the
|
|
/// seal arrive with stage 5, through the evaluator of the opening.
|
|
///
|
|
/// DER, the primitives, age, agewrap, the curve arithmetic, the IBE of tlock
|
|
/// and its stanza, the rules of paths and texts on the Unicode tables, the
|
|
/// frame of BODY, the digest of a capsule and the steps of the opening are
|
|
/// internal, as in the Go reference and datekeys-ts.
|
|
library;
|
|
|
|
export 'src/accesskey.dart';
|
|
export 'src/bls12381_curve.dart'
|
|
show BlsGroup, PointVerdict, checkCompressedPoint;
|
|
export 'src/bytes.dart'
|
|
show compareBytes, concatBytes, decodeUtf8, equalBytes, fromHex, toHex;
|
|
export 'src/cbor.dart';
|
|
export 'src/control.dart';
|
|
export 'src/datekey.dart';
|
|
export 'src/errors.dart';
|
|
export 'src/extension.dart';
|
|
export 'src/framing.dart';
|
|
export 'src/head.dart' hide decodeWrittenHead;
|
|
export 'src/header.dart';
|
|
export 'src/inspect.dart'
|
|
show
|
|
CheckResult,
|
|
Inspection,
|
|
StanzaInfo,
|
|
inspectCapsule,
|
|
inspectCapsuleSource,
|
|
inspectJson,
|
|
inspectView,
|
|
inspectedLength,
|
|
maxAccessKeyRead;
|
|
export 'src/note.dart';
|
|
export 'src/open.dart' show OpenOptions, Opened, openCapsule, openCapsuleSource;
|
|
export 'src/padding.dart';
|
|
export 'src/profile.dart';
|
|
export 'src/release.dart'
|
|
show
|
|
PinnedProfile,
|
|
Release,
|
|
ReleaseSource,
|
|
fetchRelease,
|
|
quicknetScheme,
|
|
suppliedRelease,
|
|
verifyRelease;
|
|
export 'src/sink.dart';
|
|
export 'src/source.dart' show ByteSource, BytesSource;
|
|
export 'src/verdicts.dart';
|
|
export 'src/version.dart';
|
|
export 'src/wordkey.dart'
|
|
show
|
|
WordKeyException,
|
|
checkWords,
|
|
minLetters,
|
|
minWords,
|
|
normalizeWords,
|
|
wordKey,
|
|
wordKeyRounds;
|