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

Method public_key

atomic-identity/src/keypair.rs:184–186  ·  view source on GitHub ↗

Get the corresponding public key

(&self)

Source from the content-addressed store, hash-verified

182
183 /// Get the corresponding public key
184 pub fn public_key(&self) -> PublicKey {
185 PublicKey(self.0.verifying_key())
186 }
187
188 /// Sign a message
189 pub fn sign(&self, message: &[u8]) -> [u8; 64] {

Callers 11

fixtureFunction · 0.45
runMethod · 0.45
delegate_from_requestMethod · 0.45
executeMethod · 0.45
agentFunction · 0.45
generateMethod · 0.45
from_secret_keyMethod · 0.45
load_keypairMethod · 0.45

Calls 1

PublicKeyClass · 0.85