Function ssi::did_resolve::get_verification_methods
source · pub async fn get_verification_methods(
did: &str,
verification_relationship: VerificationRelationship,
resolver: &dyn DIDResolver
) -> impl Future<Output = Result<HashMap<String, VerificationMethodMap, RandomState>, Error>>
Expand description
Get the resolved verification method maps for a given DID (including its controllers, recursively) and verification relationship (proof purpose).
This is a special case of get_verification_methods_for_all.