pub struct SessionBinding<'a> {
pub initiator_authenticator: &'a Authenticator,
pub responder_ecdh_pk: &'a DHPublicKey,
pub responder_pq_pk: Option<PQEncapsulationKey<'a>>,
}Expand description
Wraps public key material that is bound to a session.
Fields§
§initiator_authenticator: &'a AuthenticatorThe initiator’s authenticator value, i.e. a long-term DH public value or signature verification key.
responder_ecdh_pk: &'a DHPublicKeyThe responder’s long term DH public value.
responder_pq_pk: Option<PQEncapsulationKey<'a>>The responder’s long term PQ-KEM public key (if any).
Auto Trait Implementations§
impl<'a> Freeze for SessionBinding<'a>
impl<'a> RefUnwindSafe for SessionBinding<'a>
impl<'a> Send for SessionBinding<'a>
impl<'a> Sync for SessionBinding<'a>
impl<'a> Unpin for SessionBinding<'a>
impl<'a> UnsafeUnpin for SessionBinding<'a>
impl<'a> UnwindSafe for SessionBinding<'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