pub struct KeyLogFile(_);
Expand description
KeyLog implementation that opens a file whose name is
given by the SSLKEYLOGFILE environment variable, and writes
keys into it.
If SSLKEYLOGFILE is not set, this does nothing.
If such a file cannot be opened, or cannot be written then
this does nothing but logs errors at warning-level.
pub fn new() -> Self[src]
Makes a new KeyLogFile. The environment variable is
inspected and the named file is opened during this call.
fn log(&self, label: &str, client_random: &[u8], secret: &[u8])[src]
Log the given secret. client_random is provided for
session identification. label describes precisely what
secret means: Read more
Indicates whether the secret with label label will be logged. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.