pub trait Signer {
    // Required methods
    fn public_key(&self) -> PublicKey;
    fn sign_without_public_key(&self, message_hash: &impl IsHash) -> SignatureV1;
    fn sign_with_public_key(
        &self,
        message_hash: &impl IsHash
    ) -> SignatureWithPublicKeyV1;
}

Required Methods§

fn public_key(&self) -> PublicKey

fn sign_without_public_key(&self, message_hash: &impl IsHash) -> SignatureV1

fn sign_with_public_key( &self, message_hash: &impl IsHash ) -> SignatureWithPublicKeyV1

Object Safety§

This trait is not object safe.

Implementors§