class SecureScuttlebuttHandshakeClient
Class responsible for performing a Secure Scuttlebutt handshake with a remote peer, as defined in the Secure Scuttlebutt protocol guide Please note that only handshakes over the Ed25519 curve are supported. This class manages the state of one handshake. It should not be reused across handshakes. If the handshake fails, a HandshakeException will be thrown. |
|
class SecureScuttlebuttHandshakeServer
Class responsible for performing a Secure Scuttlebutt handshake with a remote peer, as defined in the Secure Scuttlebutt protocol guide Please note that only handshakes over the Ed25519 curve are supported. This class manages the state of one handshake. It should not be reused across handshakes. If the handshake fails, a HandshakeException will be thrown. |
|
interface SecureScuttlebuttStreamClient
Interface used to encrypt and decrypt messages to and from a server. |
|
interface SecureScuttlebuttStreamServer
Interface used to encrypt and decrypt messages to and from a client. |
class HandshakeException : RuntimeException
Exceptions thrown during handshake because of invalid messages or different network identifiers. |
|
class StreamException : RuntimeException |