Trait ockam_vault_core::AsymmetricVault[][src]

pub trait AsymmetricVault {
    fn ec_diffie_hellman<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        context: &'life1 Secret,
        peer_public_key: &'life2 PublicKey
    ) -> Pin<Box<dyn Future<Output = Result<Secret>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }
Expand description

Vault with asymmetric encryption functionality

Required methods

Compute Elliptic-Curve Diffie-Hellman using this secret key and the specified uncompressed public key

Implementors