pub trait SecretKey {
    // Required methods
    fn as_bytes(&self) -> &[u8] ;
    fn from_bytes(bytes: &[u8]) -> Result<Self>
       where Self: Sized;
}
Expand description

A secret key for a signature scheme

Required Methods§

source

fn as_bytes(&self) -> &[u8]

source

fn from_bytes(bytes: &[u8]) -> Result<Self>
where Self: Sized,

Implementors§