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

Method verify

atomic-identity/src/identity.rs:367–369  ·  view source on GitHub ↗

Verify a signature made by this identity.

(&self, message: &[u8], signature: &[u8; 64])

Source from the content-addressed store, hash-verified

365
366 /// Verify a signature made by this identity.
367 pub fn verify(&self, message: &[u8], signature: &[u8; 64]) -> Result<(), IdentityError> {
368 self.public_key.verify(message, signature)
369 }
370
371 /// Check if the identity has expired.
372 pub fn is_expired(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected