Struct tlspuffin::tls::rustls::tls13::key_schedule::KeyScheduleTrafficWithClientFinishedPending
source · pub struct KeyScheduleTrafficWithClientFinishedPending {
handshake_client_traffic_secret: Prk,
traffic: KeyScheduleTraffic,
}
Expand description
KeySchedule during traffic stage.
Note: Retains 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 fn client_key(&self) -> &Prk
pub fn sign_client_finish( self, hs_hash: &Digest, ) -> (KeyScheduleTraffic, Tag, Prk)
pub fn sign_client_finish_raw( self, hs_hash: &[u8], ) -> (KeyScheduleTraffic, Tag, Prk)
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
§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.