Trait did_key::KeyMaterial [−][src]
pub trait KeyMaterial {
fn public_key_bytes(&self) -> Vec<u8>;
fn private_key_bytes(&self) -> Vec<u8>;
}
Expand description
Return key material bytes
Required methods
fn public_key_bytes(&self) -> Vec<u8>
fn public_key_bytes(&self) -> Vec<u8>
Returns the public key bytes as slice
fn private_key_bytes(&self) -> Vec<u8>
fn private_key_bytes(&self) -> Vec<u8>
Returns the secret key bytes as slice