[−][src]Trait libp2p_noise::Protocol
A Noise protocol over DH keys of type C
. The choice of C
determines the
protocol parameters for each handshake pattern.
Required methods
fn params_ik() -> ProtocolParams
The protocol parameters for the IK handshake pattern.
fn params_ix() -> ProtocolParams
The protocol parameters for the IX handshake pattern.
fn params_xx() -> ProtocolParams
The protocol parameters for the XX handshake pattern.
fn public_from_bytes(s: &[u8]) -> Result<PublicKey<C>, NoiseError>
Construct a DH public key from a byte slice.
Implementors
impl Protocol<X25519> for X25519
[src]
Noise protocols for X25519.