pub trait Signer {
    fn sign<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        key_id: &'life1 String,
        data: &'life2 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<Signature, Error>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

Defines the Vault interface for Signing.

Required Methods

Generate a Signature for the given data using the given Secret key.

Implementors