MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / did_key

Method did_key

core/src/node_id.rs:55–57  ·  view source on GitHub ↗

public_ed25519_key_bytes as a did:key

(&self)

Source from the content-addressed store, hash-verified

53 }
54 /// public_ed25519_key_bytes as a did:key
55 pub fn did_key(&self) -> String {
56 format!("did:key:{}", self.public_multibase())
57 }
58 /// public_ed25519_key_bytes as a did:key document
59 pub fn did(&self) -> DidDocument {
60 DidDocument {

Callers 7

didMethod · 0.80
test_did_from_peer_idFunction · 0.80
get_peersMethod · 0.80
newMethod · 0.80
insert_eventMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_did_from_peer_idFunction · 0.64