Skip to main content

proof_verification_method

Function proof_verification_method 

Source
pub fn proof_verification_method(credential: &Value) -> Result<String>
Expand description

Return the verificationMethod declared by the credential’s proof. Callers should resolve the verification key from THIS identifier before verifying, so the key is bound to the method the proof claims (see the SECURITY note on verify_proof).