|
| void | writeFrame (uint16_t _seqId, bytesConstRef _payload, bytes &o_bytes) |
| | Write continuation frame of segmented payload.
|
| |
| void | writeFrame (bytesConstRef _header, bytesConstRef _payload, bytes &o_bytes) |
| |
| uint32_t | decompressFrame (bytesRef payload, bytes &output) const |
| | Compression.
|
| |
| void | LZ4compress (bytesConstRef payload, bytes &output) const |
| |
| void | writeCompressedFrame (uint16_t _seqId, bytesConstRef _payload, bytes &o_bytes) |
| |
| void | writeCompressedFrame (uint16_t _seqId, uint32_t _totalSize, bytesConstRef _payload, bytes &o_bytes) |
| |
| void | updateEgressMACWithHeader (bytesConstRef _headerCipher) |
| | Update state of egress MAC with frame header.
|
| |
| void | updateEgressMACWithFrame (bytesConstRef _cipher) |
| | Update state of egress MAC with frame.
|
| |
| void | updateIngressMACWithHeader (bytesConstRef _headerCipher) |
| | Update state of ingress MAC with frame header.
|
| |
| void | updateIngressMACWithFrame (bytesConstRef _cipher) |
| | Update state of ingress MAC with frame.
|
| |
| void | setup (bool _originated, h512 const &_remoteEphemeral, h256 const &_remoteNonce, KeyPair const &_ecdheLocal, h256 const &_nonce, bytesConstRef _ackCipher, bytesConstRef _authCipher) |
| | Establish shared secrets and setup AES and MAC states.
|
| |
Encoder/decoder transport for RLPx connection established by RLPXHandshake.
- Todo:
rename to RLPXTranscoder
Remove 'Frame' nomenclature and expect caller to provide RLPXFrame
Remove handshake as friend, remove handshake-based constructor
Thread Safety Distinct Objects: Unsafe. Shared objects: Unsafe.