struct
Raft::RPC::Handshake
- Raft::RPC::Handshake
- Struct
- Value
- Object
Overview
HMAC-SHA256 challenge frame for connection authentication.
Sent as the first TLV message on a new TCP connection. Both sides exchange a challenge and verify the peer holds the same cookie.
Defined in:
raft/rpc.crConstructors
Instance Method Summary
-
#hmac : Bytes
HMAC-SHA256 digest of the cookie and nonce (32 bytes).
-
#nonce : Bytes
Random nonce (32 bytes).
- #type : Type