Skip to main content

Module enrollment

Module enrollment 

Source
Expand description

Per-entry enrollment resolution for authenticated proofs.

An authenticated proof’s signer keys are never self-certified by a header. Each logical signer group resolves to exactly one signer-suite record that pins, by construction:

  • the exact suite ID the group must declare,
  • the exact ordered public component keys (classical and post-quantum),
  • the principal,
  • the enrollment epoch, and
  • the role the record may take in a proof.

A component signature verifying under any key not pinned in that record denies — even a key validly enrolled to the same principal (design §4.4). The credential cnf thumbprint selects the primary record; additional authorization groups resolve through anchored approver enrollments; a response proof’s signer resolves from the service enrollment for the request’s signed service domain (§9.4).

This module owns the seam, not the manifest: the production resolver is the enrollment-manifest consumer (workstream B). Nothing resolves by default — an absent resolver denies, it never falls back to a permissive or self-asserted key source.

Structs§

EnrolledComponent
One pinned component of an enrolled signer suite: exact algorithm, exact key ID, exact public key.
InMemoryEnrollmentResolver
An in-memory resolver over an explicit enrollment table.
SignerSuiteRecord
One enrolled signer-suite record — the exact chain a cnf thumbprint, approver anchor, or service domain resolves to.

Enums§

ComponentKey
A public component key pinned by an enrollment record.
SignerRole
The role an enrolled record may take. A record is usable in exactly the role it was enrolled for: an approver enrollment can never stand in as the credential-bound primary signer, and neither can stand in as the enrolled service response signer.

Traits§

EnrollmentResolver
Resolves the enrolled signer-suite records an authenticated proof’s groups must verify against.

Functions§

authenticated_replay_namespace
Compute the same authenticated-proof namespace from an already trusted active session’s ordered raw component keys and positive database epoch. Policy uses this to compare the verifier’s proof-derived namespace before consuming durable replay; this function is a hash, not proof verification.
global_enrollment_resolver
set_global_enrollment_resolver
Install the process enrollment resolver. There is no auto-install: an authenticated proof presented with no resolver denies.