[][src]Crate libp2prs_noise

Modules

handshake

Noise protocol handshake I/O.

Structs

AuthenticKeypair

A DH keypair that is authentic w.r.t. a identity::PublicKey.

Keypair

DH keypair.

KeypairIdentity

The associated public identity of a DH keypair.

NoiseConfig

The protocol upgrade configuration.

NoiseOutput

A noise session to a remote.

ProtocolParams

The parameters of a Noise protocol, consisting of a choice for a handshake pattern as well as DH, cipher and hash functions.

PublicKey

DH public key.

SecretKey

DH secret key.

X25519

A X25519 key.

X25519Spec

A X25519 key.

Enums

IdentityExchange

The options for identity exchange in an authenticated handshake.

NoiseError

libp2p_noise error type.

RemoteIdentity

The identity of the remote established during a handshake.

XX

Type tag for the XX handshake pattern.

Traits

Protocol

A Noise protocol over DH keys of type C. The choice of C determines the protocol parameters for each handshake pattern.