MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / verification_method_roundtrips_to_did

Function verification_method_roundtrips_to_did

atomic-canonical/src/did.rs:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98 #[test]
99 fn verification_method_roundtrips_to_did() {
100 let kp = KeyPair::generate();
101 let did = did_for_public_key(&kp.public);
102 let vm = verification_method(&did);
103 assert_eq!(did_from_verification_method(&vm), did);
104 }
105}

Callers

nothing calls this directly

Calls 2

verification_methodFunction · 0.85
did_for_public_keyFunction · 0.70

Tested by

no test coverage detected