Get the raw bytes of the public key
(&self)
| 37 | |
| 38 | /// Get the raw bytes of the public key |
| 39 | pub fn as_bytes(&self) -> &[u8; 32] { |
| 40 | self.0.as_bytes() |
| 41 | } |
| 42 | |
| 43 | /// Verify a signature against a message |
| 44 | pub fn verify(&self, message: &[u8], signature: &[u8; 64]) -> Result<(), IdentityError> { |
no outgoing calls