ece::crypto

Trait RemotePublicKey

Source
pub trait RemotePublicKey:
    Send
    + Sync
    + 'static {
    // Required methods
    fn as_raw(&self) -> Result<Vec<u8>>;
    fn as_any(&self) -> &dyn Any;
}

Required Methods§

Source

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

Export the key component in the binary uncompressed point representation.

Source

fn as_any(&self) -> &dyn Any

For downcasting purposes.

Implementors§