tuweni / org.apache.tuweni.rlpx

Package org.apache.tuweni.rlpx

Types

EthereumIESEncryptionEngine

open class EthereumIESEncryptionEngine

Support class for constructing integrated encryption ciphers for doing basic message exchanges on top of key agreement ciphers. Follows the description given in IEEE Std 1363a.

HandshakeMessage

interface HandshakeMessage

Contents of a message sent as part of a RLPx handshake.

MemoryWireConnectionsRepository

open class MemoryWireConnectionsRepository : WireConnectionRepository

In-memory implementation of the wire connections repository.

RLPxConnection

class RLPxConnection

Connection between 2 peers over the RLPx protocol.

The RLPx protocol creates a exchange of unique secrets during an initial handshake. The peers proceed to communicate using the shared secrets.

This connection allows encrypting and decrypting messages with a remote peer.

RLPxConnectionFactory

class RLPxConnectionFactory

Factory creating RLPxConnection, either from initiating a handshake or responding to a handshake request.

RLPxMessage

class RLPxMessage

Message exchanged over a RLPx connection.

The message is identified by a negotiated code, offset according to the subprotocol mapping.

The message includes the raw content of the message as bytes.

RLPxService

interface RLPxService

Service allowing connections to remote peers over RLPx connections.

WireConnectionRepository

interface WireConnectionRepository

A repository managing wire connections.

Exceptions

InvalidMACException

open class InvalidMACException : RuntimeException

Exception thrown when the message contents do not match the Message Authentication Code.