Struct tlspuffin::tls::rustls::tls13::key_schedule::KeySchedulePreHandshake     
source · pub struct KeySchedulePreHandshake {
    ks: KeySchedule,
}Expand description
Pre-handshake key schedule
The inner KeySchedule is either constructed without any secrets based on ths HKDF algorithm
or is extracted from a KeyScheduleEarly. This can then be used to derive the
KeyScheduleHandshakeStart.
Fields§
§ks: KeyScheduleImplementations§
source§impl KeySchedulePreHandshake
 
impl KeySchedulePreHandshake
pub fn new(algorithm: Algorithm) -> Self
pub fn into_handshake(self, secret: &[u8]) -> KeyScheduleHandshakeStart
Trait Implementations§
source§impl From<KeyScheduleEarly> for KeySchedulePreHandshake
 
impl From<KeyScheduleEarly> for KeySchedulePreHandshake
source§fn from(_: KeyScheduleEarly) -> Self
 
fn from(_: KeyScheduleEarly) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeySchedulePreHandshake
impl RefUnwindSafe for KeySchedulePreHandshake
impl Send for KeySchedulePreHandshake
impl Sync for KeySchedulePreHandshake
impl Unpin for KeySchedulePreHandshake
impl UnwindSafe for KeySchedulePreHandshake
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
§impl<Tail, T> Prepend<T> for Tail
 
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
 
type PreprendResult = Tail
The Resulting [
TupleList], of an [Prepend::prepend()] call,
including the prepended entry.