Trait vapcore_secretstore::SigningKeyPair[][src]

pub trait SigningKeyPair: Send + Sync {
    fn public(&self) -> &Public;
fn address(&self) -> Address;
fn sign(&self, data: &H256) -> Result<Signature, VapKeyError>; }

Key pair with signing ability.

Required methods

fn public(&self) -> &Public[src]

Public portion of key.

fn address(&self) -> Address[src]

Address of key owner.

fn sign(&self, data: &H256) -> Result<Signature, VapKeyError>[src]

Sign data with the key.

Loading content...

Implementors

Loading content...