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, 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 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 RefUnwindSafe for KeyScheduleTrafficWithClientFinishedPending
impl Send for KeyScheduleTrafficWithClientFinishedPending
impl Sync for KeyScheduleTrafficWithClientFinishedPending
impl Unpin for KeyScheduleTrafficWithClientFinishedPending
impl UnwindSafe for KeyScheduleTrafficWithClientFinishedPending
Blanket Implementations§
§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.