pub(crate) struct KeyScheduleHandshake {
ks: KeySchedule,
client_handshake_traffic_secret: OkmBlock,
server_handshake_traffic_secret: OkmBlock,
}Fields§
§ks: KeySchedule§client_handshake_traffic_secret: OkmBlock§server_handshake_traffic_secret: OkmBlockImplementations§
Source§impl KeyScheduleHandshake
impl KeyScheduleHandshake
pub(crate) fn sign_server_finish(&self, hs_hash: &Output) -> Tag
pub(crate) fn set_handshake_encrypter(&self, common: &mut CommonState)
pub(crate) fn set_handshake_decrypter( &self, skip_requested: Option<usize>, common: &mut CommonState, )
pub(crate) fn into_traffic_with_client_finished_pending( self, hs_hash: Output, key_log: &dyn KeyLog, client_random: &[u8; 32], common: &mut CommonState, ) -> KeyScheduleTrafficWithClientFinishedPending
pub(crate) fn into_pre_finished_client_traffic( self, pre_finished_hash: Output, handshake_hash: Output, key_log: &dyn KeyLog, client_random: &[u8; 32], ) -> (KeyScheduleClientBeforeFinished, Tag)
Auto Trait Implementations§
impl Freeze for KeyScheduleHandshake
impl !RefUnwindSafe for KeyScheduleHandshake
impl Send for KeyScheduleHandshake
impl Sync for KeyScheduleHandshake
impl Unpin for KeyScheduleHandshake
impl UnsafeUnpin for KeyScheduleHandshake
impl !UnwindSafe for KeyScheduleHandshake
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