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

Method verify

atomic-identity/src/signing.rs:87–89  ·  view source on GitHub ↗

Verify this signature against a message and public key.

(&self, message: &[u8], public_key: &PublicKey)

Source from the content-addressed store, hash-verified

85
86 /// Verify this signature against a message and public key.
87 pub fn verify(&self, message: &[u8], public_key: &PublicKey) -> Result<(), IdentityError> {
88 public_key.verify(message, &self.0)
89 }
90
91 /// Verify this signature against a message and identity.
92 pub fn verify_with_identity(

Callers 3

verify_with_identityMethod · 0.45
verify_signerMethod · 0.45
verify_allMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected