[][src]Trait ece::LocalKeyPair

pub trait LocalKeyPair {
    fn generate_random() -> Result<Self>
    where
        Self: Sized
;
fn pub_as_raw(&self) -> Result<Vec<u8>>; }

Required methods

fn generate_random() -> Result<Self> where
    Self: Sized

Generate a random local key pair.

fn pub_as_raw(&self) -> Result<Vec<u8>>

Export the public key component in the binary uncompressed point representation.

Loading content...

Implementors

impl LocalKeyPair for OpenSSLLocalKeyPair[src]

fn generate_random() -> Result<Self>[src]

Generate a random local key pair using OpenSSL ECKey::generate.

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

Export the public key component in the binary uncompressed point representation using OpenSSL PointConversionForm::UNCOMPRESSED.

Loading content...