Expand description
Canonical two-layer root-attested ephemeral endpoint-descriptor contract.
The deployment descriptor root signs an attestation binding an ephemeral
key. That ephemeral key signs its own SignedEndpointDescriptor (relay and
direct addresses). Consumers MUST verify both layers and bind them; unsigned
address hints are not part of this contract.
Modules§
- conformance
- Fixed published vector both weft and heddle pin their tests to.
Structs§
- Attested
Endpoint Descriptor Entry - One root-attested ephemeral key plus the descriptor that key signed.
- Endpoint
Descriptor SetDocument - Published set of root-attested ephemeral endpoint descriptors.
- Verified
Endpoint - Endpoint that passed both attestation and descriptor-signature layers.
Enums§
- Descriptor
SetError - Errors from
parse_endpoint_descriptor_set. - Entry
Reject - Why a set entry was not promoted to
VerifiedEndpoint.
Constants§
- ROOT_
ATTESTATION_ KIND - Canonical
kind=label insideephemeral_attestation_bytes. - ROOT_
ATTESTATION_ V1_ DOMAIN - Domain separator for root-key attestations of ephemeral descriptor keys.
Distinct from
crate::signing::TRANSPORT_BOOTSTRAP_SIGNING_V1_DOMAINso an endpoint-descriptor signature cannot verify as an attestation and vice versa. - SET_
VERSION - Document version for
EndpointDescriptorSetDocument.
Functions§
- ephemeral_
attestation_ bytes - Canonical bytes the deployment-descriptor root signs to attest an ephemeral key.
- parse_
endpoint_ descriptor_ set - Deserialize an
EndpointDescriptorSetDocumentand reject unknown versions. - trusted_
live_ entries - Verify every entry and drop rejects. Never returns a
VerifiedEndpointunless both layers verified and bound. - verify_
ephemeral_ attestation - Verify both trust layers of one attested entry and bind them.