The version is an external template selector, not a prefix of the digest.
Instances For
Equations
- AMT.instReprLocalInput = { reprPrec := AMT.reprLocalInput✝ }
Canonical wire alphabet; no checksum, separators or aliases.
Equations
- AMT.alphabet = "0123456789ABCDEFGHJKMNPQRSTVWXYZ".toList
Instances For
MSB-first byte encoding with zero bits appended to the final 5-bit group.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Draft-specific k + Crockford representation. This is NOT the registered
multibase k (base36); interoperability requires an explicit AMT draft codec.
Equations
- AMT.encodePublicKey pk = "k" ++ AMT.crockfordEncode pk.bytes
Instances For
Exact JCS serialization of the fixed ASCII-only Version 0 template. All keys are sorted, all constants are included, no whitespace is emitted. Only the encoded public key varies; it cannot contain JSON metacharacters. This is not a general JSON canonicalizer.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- AMT.didFromHash digest = { value := "did:amt:" ++ AMT.crockfordEncode digest.value }
Instances For
Fill self references only after hashing. W3C's data model stores resolved
DID URLs; the wire form of the two relationship references is #key-1.
The fixed @context is implicit in this W3C model and explicit in templateV0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Full Version 0 shape check, including derived references and absence of extra claims/services. Parsing must also check the fixed @context and reject unknown/duplicate JSON members before entering this W3C model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Executable boundary with an explicitly supplied SHA3-512 implementation. Reject unsupported versions, malformed key sizes and wrong digest sizes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- AMT.verifyWith sha3512 input claimed doc = match AMT.deriveWith sha3512 input with | none => false | some (did, snd) => claimed == did && AMT.matchesV0 doc input.publicKey did
Instances For
Acceptance binds the completed document id to the derived id.