Verify a signature made by this identity.
(&self, message: &[u8], signature: &[u8; 64])
| 365 | |
| 366 | /// Verify a signature made by this identity. |
| 367 | pub fn verify(&self, message: &[u8], signature: &[u8; 64]) -> Result<(), IdentityError> { |
| 368 | self.public_key.verify(message, signature) |
| 369 | } |
| 370 | |
| 371 | /// Check if the identity has expired. |
| 372 | pub fn is_expired(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected