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

Method verify_all

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

Verify all signatures in the set.

(&self, message: &[u8])

Source from the content-addressed store, hash-verified

321
322 /// Verify all signatures in the set.
323 pub fn verify_all(&self, message: &[u8]) -> Result<(), IdentityError> {
324 for signature in &self.signatures {
325 signature.verify(message)?;
326 }
327 Ok(())
328 }
329
330 /// Check if a specific identity has signed.
331 pub fn is_signed_by(&self, signer_id: &IdentityId) -> bool {

Callers

nothing calls this directly

Calls 1

verifyMethod · 0.45

Tested by

no test coverage detected