[][src]Struct kuska_handshake::HandshakeComplete

pub struct HandshakeComplete {
    pub net_id: Key,
    pub pk: PublicKey,
    pub ephemeral_pk: GroupElement,
    pub peer_pk: PublicKey,
    pub peer_ephemeral_pk: GroupElement,
    pub shared_secret: SharedSecret,
}

Type used to group all the values obtained during a successful handshake that can be used to stablish a secure authenticated channel.

Fields

net_id: Keypk: PublicKeyephemeral_pk: GroupElementpeer_pk: PublicKeypeer_ephemeral_pk: GroupElementshared_secret: SharedSecret

Trait Implementations

impl Debug for HandshakeComplete[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.