Expand description
Authority: logical form, canonical indexed form, attenuation.
logical— the application-facing Logical Context of Authority: optionalidentity_contextandexecution { invariants, contract };indexed— the deterministic canonicalization into the Indexed Authority Map, which removal bitmaps and additions address by section-local numeric index;bitmap— canonical LSB-first removal bitmaps;attenuation— materialization of accepted attenuations and the non-expansion order.
Modules§
- attenuation
- Attenuation and materialization (Profile 0.2).
- bitmap
- Removal bitmaps (Profile 0.2).
- indexed
- The canonical Indexed Authority Map (Profile 0.2).
- logical
- The Logical Context of Authority: the application-facing JSON form.
Structs§
- Attenuations
- Parsed attenuations of one transition.
- Indexed
Authority Map - The canonical Indexed Authority Map carried by
context_of_authorityinside the PIC PCA COSE payload. - Invariant
- One executable authority invariant:
(scope, operation, resourceType, resourceId). - Invariant
Tuple - A
[scope, operation, resourceType, resourceId]tuple. Element order is normative. - Logical
Authority - The Logical Context of Authority: the application-facing JSON form
{ identity_context?, execution: { invariants, contract } }. - Logical
Execution - The
executionmember of the Logical Context of Authority. - Reference
Profile - The reference attenuation profile: invariants and identity entries use subset inclusion; execution-contract constraints may only be preserved or extended (accumulating with AND).
- Remove
Bitmap - A canonical removal bitmap over the section-local indexes of one Indexed Authority Map section.
Enums§
- Authority
Value - A logical authority value: a non-empty string or a non-empty array of non-empty strings. Profile 0.2 rejects numbers, booleans, objects, null, empty strings, and empty arrays in the logical input domain.
- Tuple
Value - A canonical tuple value: a string, or the boolean
trueused as the canonical denormalized membership representation.
Traits§
- Attenuation
Order - The profile-defined attenuation order
≤used for non-expansion validation. A Verifier rejects a state whose order it cannot evaluate deterministically.
Functions§
- materialize
- Materializes the successor authority: predecessor map plus the accepted attenuations of one transition. Removal never adds authority; contract entries are never removed, replaced, or weakened.
Type Aliases§
- KvTuple
- A
[key, value]tuple foridentity_context/execution_contract.