pub trait CryptManagementProxyInterface: Send + Sync {
    type AddWrappingKeyResponseFut: Future<Output = Result<CryptManagementAddWrappingKeyResult, Error>> + Send;
    type SetActiveKeyResponseFut: Future<Output = Result<CryptManagementSetActiveKeyResult, Error>> + Send;
    type ForgetWrappingKeyResponseFut: Future<Output = Result<CryptManagementForgetWrappingKeyResult, Error>> + Send;

    // Required methods
    fn add_wrapping_key(
        &self,
        wrapping_key_id: u64,
        key: &[u8]
    ) -> Self::AddWrappingKeyResponseFut;
    fn set_active_key(
        &self,
        purpose: KeyPurpose,
        wrapping_key_id: u64
    ) -> Self::SetActiveKeyResponseFut;
    fn forget_wrapping_key(
        &self,
        wrapping_key_id: u64
    ) -> Self::ForgetWrappingKeyResponseFut;
}

Required Associated Types§

Required Methods§

source

fn add_wrapping_key( &self, wrapping_key_id: u64, key: &[u8] ) -> Self::AddWrappingKeyResponseFut

source

fn set_active_key( &self, purpose: KeyPurpose, wrapping_key_id: u64 ) -> Self::SetActiveKeyResponseFut

source

fn forget_wrapping_key( &self, wrapping_key_id: u64 ) -> Self::ForgetWrappingKeyResponseFut

Implementors§