Skip to main content

verify_did_at9p

Function verify_did_at9p 

Source
pub fn verify_did_at9p(
    did: &str,
    capsule_bytes: &[u8],
) -> Result<VerifiedCapsule, GateError>
Expand description

Verify a full did:at9p:<cid512> identifier against fetched capsule bytes.

Convenience wrapper over verify_genesis_capsule that strips the did:at9p: method prefix. Same purity guarantees.