Trait ece::crypto::LocalKeyPair

source ·
pub trait LocalKeyPair: Send + Sync + 'static {
    // Required methods
    fn pub_as_raw(&self) -> Result<Vec<u8>>;
    fn raw_components(&self) -> Result<EcKeyComponents>;
    fn as_any(&self) -> &dyn Any;
}

Required Methods§

source

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

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

source

fn raw_components(&self) -> Result<EcKeyComponents>

Export the raw components of the keypair.

source

fn as_any(&self) -> &dyn Any

For downcasting purposes.

Implementors§