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

Function verification_method

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

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

(did: &str)

Source from the content-addressed store, hash-verified

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

Callers 2

attest_valueFunction · 0.85

Calls

no outgoing calls

Tested by 1