Struct rustls::tls13::key_schedule::KeyScheduleHandshake
source · pub(crate) 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(crate) fn sign_server_finish(&self, hs_hash: &Digest) -> 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: Digest, key_log: &dyn KeyLog, client_random: &[u8; 32], common: &mut CommonState, ) -> KeyScheduleTrafficWithClientFinishedPending
pub(crate) fn into_pre_finished_client_traffic( self, pre_finished_hash: Digest, handshake_hash: Digest, 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 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