pub trait KeyMaterial {
// Required methods
fn public_key_bytes(&self) -> Result<[u8; 32], Error>;
fn private_key_bytes(&self) -> Result<[u8; 32], Error>;
}Expand description
A trait for types that hold key material bytes.
pub trait KeyMaterial {
// Required methods
fn public_key_bytes(&self) -> Result<[u8; 32], Error>;
fn private_key_bytes(&self) -> Result<[u8; 32], Error>;
}A trait for types that hold key material bytes.