pub enum KeyLogEntry {
ClientRandom {
client_random: [u8; 32],
master_secret: [u8; 48],
},
ClientHandshakeTrafficSecret {
client_random: [u8; 32],
secret: Vec<u8>,
},
ServerHandshakeTrafficSecret {
client_random: [u8; 32],
secret: Vec<u8>,
},
ClientTrafficSecret0 {
client_random: [u8; 32],
secret: Vec<u8>,
},
ServerTrafficSecret0 {
client_random: [u8; 32],
secret: Vec<u8>,
},
ExporterSecret {
client_random: [u8; 32],
secret: Vec<u8>,
},
EarlyExporterSecret {
client_random: [u8; 32],
secret: Vec<u8>,
},
ClientEarlyTrafficSecret {
client_random: [u8; 32],
secret: Vec<u8>,
},
}Expand description
A single entry from an SSLKEYLOGFILE.
Variants§
ClientRandom
TLS 1.2 and earlier: CLIENT_RANDOM <client_random> <master_secret> The master_secret is always 48 bytes.
ClientHandshakeTrafficSecret
TLS 1.3: CLIENT_HANDSHAKE_TRAFFIC_SECRET <client_random>
ServerHandshakeTrafficSecret
TLS 1.3: SERVER_HANDSHAKE_TRAFFIC_SECRET <client_random>
ClientTrafficSecret0
TLS 1.3: CLIENT_TRAFFIC_SECRET_0 <client_random>
ServerTrafficSecret0
TLS 1.3: SERVER_TRAFFIC_SECRET_0 <client_random>
ExporterSecret
TLS 1.3: EXPORTER_SECRET <client_random>
EarlyExporterSecret
TLS 1.3: EARLY_EXPORTER_SECRET <client_random>
ClientEarlyTrafficSecret
CLIENT_EARLY_TRAFFIC_SECRET <client_random>
Implementations§
Source§impl KeyLogEntry
impl KeyLogEntry
Sourcepub fn client_random(&self) -> &[u8; 32]
pub fn client_random(&self) -> &[u8; 32]
Get the client_random for this entry.
Trait Implementations§
Source§impl Clone for KeyLogEntry
impl Clone for KeyLogEntry
Source§fn clone(&self) -> KeyLogEntry
fn clone(&self) -> KeyLogEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyLogEntry
impl Debug for KeyLogEntry
Source§impl PartialEq for KeyLogEntry
impl PartialEq for KeyLogEntry
impl Eq for KeyLogEntry
impl StructuralPartialEq for KeyLogEntry
Auto Trait Implementations§
impl Freeze for KeyLogEntry
impl RefUnwindSafe for KeyLogEntry
impl Send for KeyLogEntry
impl Sync for KeyLogEntry
impl Unpin for KeyLogEntry
impl UnwindSafe for KeyLogEntry
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