Struct tlspuffin::tls::rustls::tls13::key_schedule::KeyScheduleHandshake
source · pub struct KeyScheduleHandshake {
ks: KeySchedule,
client_handshake_traffic_secret: Prk,
server_handshake_traffic_secret: Prk,
}
Fields§
§ks: KeySchedule
§client_handshake_traffic_secret: Prk
§server_handshake_traffic_secret: Prk
Implementations§
source§impl KeyScheduleHandshake
impl KeyScheduleHandshake
pub fn sign_server_finish(&self, hs_hash: &Digest) -> Tag
pub fn sign_server_finish_raw(&self, hs_hash: &[u8]) -> Tag
pub fn client_key(&self) -> &Prk
pub fn into_traffic_with_client_finished_pending( self, hs_hash: Digest, key_log: &dyn KeyLog, client_random: &[u8; 32], ) -> (KeyScheduleTrafficWithClientFinishedPending, Prk, Prk)
pub fn into_traffic_with_client_finished_pending_raw( self, hs_hash: &[u8], key_log: &dyn KeyLog, client_random: &[u8; 32], ) -> (KeyScheduleTrafficWithClientFinishedPending, Prk, Prk)
Auto Trait Implementations§
impl Freeze for KeyScheduleHandshake
impl RefUnwindSafe for KeyScheduleHandshake
impl Send for KeyScheduleHandshake
impl Sync for KeyScheduleHandshake
impl Unpin 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
§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.