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

Method is_signed_by

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

Check if a specific identity has signed.

(&self, signer_id: &IdentityId)

Source from the content-addressed store, hash-verified

329
330 /// Check if a specific identity has signed.
331 pub fn is_signed_by(&self, signer_id: &IdentityId) -> bool {
332 self.signatures.iter().any(|s| &s.signer_id == signer_id)
333 }
334
335 /// Get the signature from a specific identity.
336 pub fn get_signature(&self, signer_id: &IdentityId) -> Option<&SignatureInfo> {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected