Check if a specific identity has signed.
(&self, signer_id: &IdentityId)
| 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> { |