pub trait DeviceProxyInterface: Send + Sync {
type ProgramKeyResponseFut: Future<Output = Result<DeviceProgramKeyResult, Error>> + Send;
type DeriveRawSecretResponseFut: Future<Output = Result<DeviceDeriveRawSecretResult, Error>> + Send;
// Required methods
fn program_key(
&self,
wrapped_key: &[u8],
data_unit_size: u32,
) -> Self::ProgramKeyResponseFut;
fn derive_raw_secret(
&self,
wrapped_key: &[u8],
) -> Self::DeriveRawSecretResponseFut;
}