Skip to main content

proof_method_names

Function proof_method_names 

Source
pub fn proof_method_names(proof: &Map<String, Value>, issuer: &str) -> bool
Expand description

True when a proof’s verificationMethod names a key of issuer, by its cryptosuite: a post-quantum proof (ML-DSA-44, SLH-DSA) keeps the DID-part rule; every other proof follows ed25519_method_names. A proof with no verificationMethod names nothing.