Struct secret_handshake::crypto::Outcome [] [src]

#[repr(C)]
pub struct Outcome { /* fields omitted */ }

The data resulting from a handshake: Keys and nonces suitable for encrypted two-way communication with the peer via box-stream-rs, and the longterm public key of the peer.

Methods

impl Outcome
[src]

[src]

The negotiated key that should be used to encrypt messages to the peer.

[src]

The negotiated initial nonce that should be used to encrypt messages to the peer.

[src]

The negotiated key that should be used to decrypt messages from the peer.

[src]

The negotiated initial nonce that should be used to decrypt messages from the peer.

[src]

The longterm public key of the peer.

Trait Implementations

impl Debug for Outcome
[src]

[src]

Formats the value using the given formatter.

impl Drop for Outcome
[src]

Zero out all sensitive data when going out of scope

[src]

Executes the destructor for this type. Read more