fidl_fuchsia_fxfs

Trait CryptManagementProxyInterface

Source
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: &[u8; 16],
        key: &[u8],
    ) -> Self::AddWrappingKeyResponseFut;
    fn set_active_key(
        &self,
        purpose: KeyPurpose,
        wrapping_key_id: &[u8; 16],
    ) -> Self::SetActiveKeyResponseFut;
    fn forget_wrapping_key(
        &self,
        wrapping_key_id: &[u8; 16],
    ) -> Self::ForgetWrappingKeyResponseFut;
}

Required Associated Types§

Required Methods§

Source

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

Source

fn set_active_key( &self, purpose: KeyPurpose, wrapping_key_id: &[u8; 16], ) -> Self::SetActiveKeyResponseFut

Source

fn forget_wrapping_key( &self, wrapping_key_id: &[u8; 16], ) -> Self::ForgetWrappingKeyResponseFut

Implementors§