Crate secret_handshake [−] [src]
Implementation of the secret-handshake protocol version 1.
This library uses libsodium internally. In application code, call
sodiumoxide::init()
before performing any handshakes.
Reexports
pub use crypto::Outcome; |
pub use crypto::NETWORK_IDENTIFIER_BYTES; |
Modules
crypto |
Low-level bindings to shs1-c. You probably don't need to use this module directly. |
Structs
ClientHandshaker |
Performs the client side of a handshake. |
ServerHandshaker |
Performs the server side of a handshake. |
ServerHandshakerWithFilter |
Performs the server side of a handshake. Allows filtering clients based on their longterm public key. |
Enums
ClientHandshakeFailure |
Reason why a client might reject the server although the handshake itself was executed without IO errors. |
ServerHandshakeError |
A fatal error that occured during the execution of a handshake by a filtering server. |
ServerHandshakeFailure |
Reason why a server might reject the client although the handshake itself was executed without IO errors. |
ServerHandshakeFailureWithFilter |
Reason why a filtering server might reject the client although the handshake itself was executed without IO errors. |