Trait breez_sdk_core::LnurlAuthSigner

pub trait LnurlAuthSigner {
    // Required methods
    fn derive_bip32_pub_key<'life0, 'life1, 'async_trait>(
        &'life0 self,
        derivation_path: &'life1 [ChildNumber],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             Self: 'async_trait;
    fn sign_ecdsa<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        msg: &'life1 [u8],
        derivation_path: &'life2 [ChildNumber],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
    fn hmac_sha256<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        key_derivation_path: &'life1 [ChildNumber],
        input: &'life2 [u8],
    ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

fn derive_bip32_pub_key<'life0, 'life1, 'async_trait>( &'life0 self, derivation_path: &'life1 [ChildNumber], ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, Self: 'async_trait,

fn sign_ecdsa<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, msg: &'life1 [u8], derivation_path: &'life2 [ChildNumber], ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

fn hmac_sha256<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, key_derivation_path: &'life1 [ChildNumber], input: &'life2 [u8], ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, LnUrlError>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Implementors§