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

Method verify_with_identity

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

Verify this signature against a message and identity.

(
        &self,
        message: &[u8],
        identity: &Identity,
    )

Source from the content-addressed store, hash-verified

90
91 /// Verify this signature against a message and identity.
92 pub fn verify_with_identity(
93 &self,
94 message: &[u8],
95 identity: &Identity,
96 ) -> Result<(), IdentityError> {
97 self.verify(message, &identity.public_key)
98 }
99}
100
101impl fmt::Debug for Signature {

Callers

nothing calls this directly

Calls 1

verifyMethod · 0.45

Tested by

no test coverage detected