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