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§
sourcefn pub_as_raw(&self) -> Result<Vec<u8>>
fn pub_as_raw(&self) -> Result<Vec<u8>>
Export the public key component in the binary uncompressed point representation.
sourcefn raw_components(&self) -> Result<EcKeyComponents>
fn raw_components(&self) -> Result<EcKeyComponents>
Export the raw components of the keypair.