Expand description
hyprstream-pds implementation of hyprstream_rpc::identity_resolver::At9pCapsuleResolver
— the bridge from the A4 GATE pipeline (#884) to the did:at9p admission and
resolver arms (D2/#894).
hyprstream-rpc owns the admission gate and the method-dispatched identity
resolver, but the GATE (canon → hash → sig) and the capsule schema live here
in hyprstream-pds (which depends on rpc, so the dependency does not reverse).
The rpc crate therefore abstracts capsule verification behind the
[At9pCapsuleResolver] trait; this module is its real implementation, a thin
wrapper over crate::at9p_gate::verify_did_at9p that re-expresses the
capsule’s content-verified subject keys in the rpc-local key types.
§Provenance
A [VerifiedAt9pKeys] returned here is only constructable after the full GATE
pipeline passed over canonical bytes whose BLAKE3-512 hash equals the claimed
cid512 and whose composite signature (pinned Hybrid) verified against the
capsule’s own primary subject key. The Ed25519/ML-DSA-65 pair is therefore
content-verified, never config-supplied — the D2/#894 provenance boundary.
Structs§
- At9p
Gate Resolver - The production [
At9pCapsuleResolver] — the A4 GATE pipeline over a fetched or peer-presented capsule.