Trait rustls::crypto::hpke::HpkeOpener
source · pub trait HpkeOpener: Debug + Send + Sync + 'static {
// Required method
fn open(&mut self, aad: &[u8], ciphertext: &[u8]) -> Result<Vec<u8>, Error>;
}
Expand description
An HPKE opener context.
This is a stateful object that can be used to open sealed messages sealed by a sender.