Struct rustls::tls13::key_schedule::KeyScheduleEarly
source · pub(crate) struct KeyScheduleEarly {
ks: KeySchedule,
}
Expand description
KeySchedule for early data stage.
Fields§
§ks: KeySchedule
Implementations§
source§impl KeyScheduleEarly
impl KeyScheduleEarly
pub(crate) fn new(suite: &'static Tls13CipherSuite, secret: &[u8]) -> Self
pub(crate) fn client_early_traffic_secret( &self, hs_hash: &Digest, key_log: &dyn KeyLog, client_random: &[u8; 32], common: &mut CommonState, )
pub(crate) fn resumption_psk_binder_key_and_sign_verify_data( &self, hs_hash: &Digest, ) -> Tag
Trait Implementations§
source§impl From<KeyScheduleEarly> for KeySchedulePreHandshake
impl From<KeyScheduleEarly> for KeySchedulePreHandshake
source§fn from(_: KeyScheduleEarly) -> Self
fn from(_: KeyScheduleEarly) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyScheduleEarly
impl RefUnwindSafe for KeyScheduleEarly
impl Send for KeyScheduleEarly
impl Sync for KeyScheduleEarly
impl Unpin for KeyScheduleEarly
impl UnwindSafe for KeyScheduleEarly
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