pub struct ExportedSecrets {
pub suite: CipherSuite,
pub tx: DirectionalSecret,
pub rx: DirectionalSecret,
pub unprocessed_input: Vec<u8>,
pub plaintext: Vec<u8>,
}Expand description
The state handed to kernel TLS (or another record layer) by
Connection::export_traffic_secrets.
Fields§
§suite: CipherSuite§tx: DirectionalSecret§rx: DirectionalSecret§unprocessed_input: Vec<u8>Received bytes not yet processed (they continue the rx record stream).
plaintext: Vec<u8>Decrypted plaintext the application has not read.
Trait Implementations§
Source§impl Clone for ExportedSecrets
impl Clone for ExportedSecrets
Auto Trait Implementations§
impl Forget for ExportedSecrets
impl Freeze for ExportedSecrets
impl Move for ExportedSecrets
impl RefUnwindSafe for ExportedSecrets
impl Send for ExportedSecrets
impl Sync for ExportedSecrets
impl Unpin for ExportedSecrets
impl UnsafeUnpin for ExportedSecrets
impl UnwindSafe for ExportedSecrets
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