pub trait KemTrustStore: Send + Sync {
// Required method
fn kem_recipient_for(
&self,
ed25519_pubkey: &[u8; 32],
) -> Option<RecipientPublic>;
}Expand description
Resolves the anchored hybrid-KEM recipient public material for a peer’s
Ed25519 signer identity (its #mesh-kem keyAgreement key).
The confidentiality-side mirror of crate::envelope::PqTrustStore: the
binding is established out-of-band (DID keyAgreement resolution / peer
attestation), NEVER self-asserted on the wire. Fail-closed: an unanchored
peer returns None, and callers MUST reject rather than fall back to a
classical or self-asserted key (epic #550 principle 1 — mandatory hybrid, no
in-band downgrade).
Required Methods§
Sourcefn kem_recipient_for(
&self,
ed25519_pubkey: &[u8; 32],
) -> Option<RecipientPublic>
fn kem_recipient_for( &self, ed25519_pubkey: &[u8; 32], ) -> Option<RecipientPublic>
The anchored #mesh-kem recipient public bound to ed25519_pubkey, or
None if unknown (caller fails closed).