Skip to main content

DID_AT9P_PREFIX

Constant DID_AT9P_PREFIX 

pub const DID_AT9P_PREFIX: &'static str;
Expand description

The did:at9p: method prefix. A did:at9p identifier is exactly this prefix followed by the base32 CIDv1 (cid512) of the genesis capsule.

Re-exported from the single source of truth (hyprstream_rpc::identity), shared with the admission gate and Did::is_did_at9p, so the literal cannot drift across arms (#964). Kept at this path for the existing pds/discovery import sites. The did:at9p: method prefix — the single source of truth for the self-certifying hybrid-PQC capsule identity (#879/#880). A did:at9p identifier is this prefix followed by the base32 CIDv1 (cid512) of the genesis capsule (#884).

Shared by the admission gate (crate::admission), this method check ([Did::is_did_at9p]), and the GATE/capsule code in hyprstream-pds (at9p_gate) so the literal cannot drift across the three arms (D2/#964).