[−][src]Trait ece::LocalKeyPair
Required methods
fn generate_random() -> Result<Self> where
Self: Sized,
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.
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
.