Struct fujisaki_ringsig::key::PublicKey
[−]
[src]
pub struct PublicKey(_);
A public key
Methods
impl PublicKey
[src]
fn as_bytes(&self) -> Vec<u8>
Serialize this public key to 32 bytes
fn from_bytes(bytes: &[u8]) -> Option<PublicKey>
Deserialize this public key from 32 bytes
Trait Implementations
impl Clone for PublicKey
[src]
fn clone(&self) -> PublicKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more