pub(crate) struct KeyScheduleBeforeFinished {
ks: KeySchedule,
current_client_traffic_secret: OkmBlock,
current_server_traffic_secret: OkmBlock,
current_exporter_secret: OkmBlock,
}Expand description
Keys derived (but not installed) before client’s Finished message.
Fields§
§ks: KeySchedule§current_client_traffic_secret: OkmBlock§current_server_traffic_secret: OkmBlock§current_exporter_secret: OkmBlockImplementations§
Source§impl KeyScheduleBeforeFinished
impl KeyScheduleBeforeFinished
fn new( ks: KeySchedule, hs_hash: Output, key_log: &dyn KeyLog, client_random: &[u8; 32], ) -> Self
pub(crate) fn into_traffic( self, hs_hash: Output, ) -> (KeyScheduleTraffic, KeyScheduleResumption)
Auto Trait Implementations§
impl Freeze for KeyScheduleBeforeFinished
impl !RefUnwindSafe for KeyScheduleBeforeFinished
impl Send for KeyScheduleBeforeFinished
impl Sync for KeyScheduleBeforeFinished
impl Unpin for KeyScheduleBeforeFinished
impl UnsafeUnpin for KeyScheduleBeforeFinished
impl !UnwindSafe for KeyScheduleBeforeFinished
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