fidl_fuchsia_weave

Trait SignerProxyInterface

Source
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§