pub struct Sigma2<'a> {
pub responder_random: [u8; 32],
pub responder_session_id: SessionId,
pub responder_eph_pub_key: PublicKey,
pub encrypted2: &'a [u8],
pub session_params: Option<SessionParams>,
/* private fields */
}Available on crate feature
rustcrypto only.Expand description
sigma-2-struct (§4.14.2.3).
Fields§
§responder_random: [u8; 32]responderRandom [1].
responder_session_id: SessionIdresponderSessionId [2].
responder_eph_pub_key: PublicKeyresponderEphPubKey [3].
encrypted2: &'a [u8]encrypted2 [4] — sigma-2-tbedata under S2K.
session_params: Option<SessionParams>responderSessionParams [5].
Implementations§
Trait Implementations§
impl<'a> Eq for Sigma2<'a>
impl<'a> StructuralPartialEq for Sigma2<'a>
Auto Trait Implementations§
impl<'a> Forget for Sigma2<'a>
impl<'a> Freeze for Sigma2<'a>
impl<'a> Move for Sigma2<'a>
impl<'a> RefUnwindSafe for Sigma2<'a>
impl<'a> Send for Sigma2<'a>
impl<'a> Sync for Sigma2<'a>
impl<'a> Unpin for Sigma2<'a>
impl<'a> UnsafeUnpin for Sigma2<'a>
impl<'a> UnwindSafe for Sigma2<'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