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

Function verification_method

atomic-canonical/src/did.rs:45–47  ·  view source on GitHub ↗

The verification method id used in a proof (` #key-1`).

(did: &str)

Source from the content-addressed store, hash-verified

43
44/// The verification method id used in a proof (`<did>#key-1`).
45pub fn verification_method(did: &str) -> String {
46 format!("{did}#key-1")
47}
48
49/// The DID out of a `<did>#fragment` verification method string.
50pub fn did_from_verification_method(vm: &str) -> &str {

Callers 3

attach_proofFunction · 0.85
verify_project_identityFunction · 0.85

Calls

no outgoing calls

Tested by 1