Trait SealingKeysProxyInterface
Source pub trait SealingKeysProxyInterface: Send + Sync {
type CreateSealingKeyResponseFut: Future<Output = Result<SealingKeysCreateSealingKeyResult, Error>> + Send;
type SealResponseFut: Future<Output = Result<SealingKeysSealResult, Error>> + Send;
type UnsealResponseFut: Future<Output = Result<SealingKeysUnsealResult, Error>> + Send;
// Required methods
fn create_sealing_key(
&self,
key_info: &[u8],
) -> Self::CreateSealingKeyResponseFut;
fn seal(
&self,
key_info: &[u8],
key_blob: &[u8],
secret: &[u8],
) -> Self::SealResponseFut;
fn unseal(
&self,
key_info: &[u8],
key_blob: &[u8],
sealed_secret: &[u8],
) -> Self::UnsealResponseFut;
}