Trait did_key::KeyMaterial

source ·
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§

Returns the public key bytes as slice

Returns the secret key bytes as slice

Implementors§