pub struct ReusableEnclaveEncryptServerRecv { /* private fields */ }Expand description
A reusable receiving-side server abstraction backed by a stable target keypair.
Unlike EnclaveEncryptServerRecv, this type does not consume its key material after a
successful decrypt. It is intended for request transport decryption where the server key is
derived from durable signer key material (e.g. a encryption quorum key)
Implementations§
Source§impl ReusableEnclaveEncryptServerRecv
impl ReusableEnclaveEncryptServerRecv
Sourcepub fn decrypt(
&self,
msg: &ClientSendMsg,
) -> Result<Vec<u8>, EnclaveEncryptError>
pub fn decrypt( &self, msg: &ClientSendMsg, ) -> Result<Vec<u8>, EnclaveEncryptError>
Decrypt a message from a client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReusableEnclaveEncryptServerRecv
impl RefUnwindSafe for ReusableEnclaveEncryptServerRecv
impl Send for ReusableEnclaveEncryptServerRecv
impl Sync for ReusableEnclaveEncryptServerRecv
impl Unpin for ReusableEnclaveEncryptServerRecv
impl UnsafeUnpin for ReusableEnclaveEncryptServerRecv
impl UnwindSafe for ReusableEnclaveEncryptServerRecv
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more