pub(crate) struct KeyScheduleTrafficWithClientFinishedPending {
handshake_client_traffic_secret: Prk,
traffic: KeyScheduleTraffic,
}
Expand description
KeySchedule during traffic stage, retaining the ability to calculate the client’s finished verify_data. The traffic stage key schedule can be extracted from it through signing the client finished hash.
Fields§
§handshake_client_traffic_secret: Prk
§traffic: KeyScheduleTraffic
Implementations§
source§impl KeyScheduleTrafficWithClientFinishedPending
impl KeyScheduleTrafficWithClientFinishedPending
pub(crate) fn update_decrypter(&self, common: &mut CommonState)
pub(crate) fn sign_client_finish( self, hs_hash: &Digest, common: &mut CommonState, ) -> (KeyScheduleTraffic, Tag)
Auto Trait Implementations§
impl Freeze for KeyScheduleTrafficWithClientFinishedPending
impl RefUnwindSafe for KeyScheduleTrafficWithClientFinishedPending
impl Send for KeyScheduleTrafficWithClientFinishedPending
impl Sync for KeyScheduleTrafficWithClientFinishedPending
impl Unpin for KeyScheduleTrafficWithClientFinishedPending
impl UnwindSafe for KeyScheduleTrafficWithClientFinishedPending
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