Expand description
Key documents (SPEC 9.2) for the mesh’s own host, rotation (SPEC 9.5), and since 0.2.1 their declarations (spec-0.4.3).
Enums§
- Declare
Error - Why
declare_atrefused a declaration. - Declared
- What
with_declarationdid to the key document.
Functions§
- declare_
at - As
with_declaration, for the store’s key document ofhost(since CONTRACT-1.8b H1): the declaration is written withput_namespaceat the clock’s now. Rule A: an explicitvalid_fromorvalid_toearlier than the clock’s now is refused, with nothing written; with novalid_fromit is now. The document is read fromstore, which must hold one. - with_
declaration - The key document
existingofhostwith a declaration (SPEC 9.2, spec-0.4.3):fn_name(a full function name underhost) may be computed over inputs under the restrictedlicencefromvalid_from(an instant) untilvalid_to(absent: open-ended), the result carrying that licence (SPEC 8.5). Since 0.2.1. - with_
key - The key document of
hostpublishingkeyfromvalid_from, after the keys ofexisting(a document already published forhost, if any): rotation as SPEC 9.5 says, each existing key without avalid_to(or with a later one) ending atvalid_from. A key already inexistingis not added again. The result is canonical JSON, checked by 9.2. - with_
registered - The key document
existingofhostwith the keypublicregistered fromvalid_from(QUESTIONS-build2 D39): the key is added beside the keys there are, and no key is rotated or closed.Nonewhen the document holds that key already (then nothing is to be written). The declarations are kept. Checked by 9.2.