Expand description
Identity provider abstraction for unified key management.
Three implementations cover the trust boundaries:
NodeIdentityProvider— native server/CLI (file + keyring)AegisIdentityProvider— browser (aegis-vault via JS callback)FederatedIdentityProvider— cross-node (entity statements)
HKDF derivation: HKDF(root_seed, purpose_bytes) — no prefix.
The purpose string IS the domain separator.
Structs§
- Did
- A W3C Decentralized Identifier (
did:key:…,did:web:…, …), carried on capnp wires asText(W3C DID strings — see https://www.w3.org/TR/did-core/) and mapped to this Rust newtype via a field-level$domainType("hyprstream_rpc::identity::Did")annotation. The generated ToCapnp/FromCapnp impls write viaDid::as_strand read viaDid::new. - Identity
KeyCandidate - One named verification-key candidate published by an identity.
- Identity
Keys - The named verification-key candidates a resolver returns for an identity.
Constants§
- DID_
AT9P_ PREFIX - The
did:at9p:method prefix — the single source of truth for the self-certifying hybrid-PQC capsule identity (#879/#880). Adid:at9pidentifier is this prefix followed by the base32 CIDv1 (cid512) of the genesis capsule (#884). - UNAUTHENTICATED_
DID_ SENTINEL - Reserved sentinel naming the credential-absence floor.
Traits§
- Identity
Provider - Unified identity provider — key management + trust resolution.
- Identity
Resolver - Resolves a
Didto its verified key material. - Signing
Identity - A purpose-keyed signing identity derived from a root seed.
Type Aliases§
- Ed25519
Vk - Raw 32-byte Ed25519 verifying key.
- MlDsaVk
- ML-DSA-65 verifying key (FIPS 204), pinned to the always-compiled PQ
primitive (
crate::crypto::pq::MlDsaVerifyingKey).