pub(crate) struct ResumptionSecret<'a> {
kst: &'a KeyScheduleTraffic,
resumption_master_secret: OkmBlock,
}
Fields§
§kst: &'a KeyScheduleTraffic
§resumption_master_secret: OkmBlock
Implementations§
Source§impl<'a> ResumptionSecret<'a>
impl<'a> ResumptionSecret<'a>
pub(crate) fn new(kst: &'a KeyScheduleTraffic, hs_hash: &Output) -> Self
pub(crate) fn derive_ticket_psk(&self, nonce: &[u8]) -> OkmBlock
Auto Trait Implementations§
impl<'a> Freeze for ResumptionSecret<'a>
impl<'a> !RefUnwindSafe for ResumptionSecret<'a>
impl<'a> Send for ResumptionSecret<'a>
impl<'a> Sync for ResumptionSecret<'a>
impl<'a> Unpin for ResumptionSecret<'a>
impl<'a> !UnwindSafe for ResumptionSecret<'a>
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