pub trait SignerProxyInterface: Send + Sync {
    type SignHashResponseFut: Future<Output = Result<SignerSignHashResult, Error>> + Send;
    type SignHashWithPrivateKeyResponseFut: Future<Output = Result<SignerSignHashWithPrivateKeyResult, Error>> + Send;

    // Required methods
    fn sign_hash(&self, hash: &[u8]) -> Self::SignHashResponseFut;
    fn sign_hash_with_private_key(
        &self,
        hash: &[u8],
        wrapped_private_key: &[u8]
    ) -> Self::SignHashWithPrivateKeyResponseFut;
}

Required Associated Types§

Required Methods§

source

fn sign_hash(&self, hash: &[u8]) -> Self::SignHashResponseFut

source

fn sign_hash_with_private_key( &self, hash: &[u8], wrapped_private_key: &[u8] ) -> Self::SignHashWithPrivateKeyResponseFut

Implementors§