Verify all signatures in the set.
(&self, message: &[u8])
| 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 { |