Trait did_key::KeyMaterial[][src]

pub trait KeyMaterial {
    fn public_key_bytes(&self) -> Vec<u8>;
fn private_key_bytes(&self) -> Vec<u8>; }

Return key material bytes

Required methods

fn public_key_bytes(&self) -> Vec<u8>[src]

Returns the public key bytes as slice

fn private_key_bytes(&self) -> Vec<u8>[src]

Returns the secret key bytes as slice

Loading content...

Implementors

Loading content...