ex_wire v0.1.1 ExWire.Handshake.Struct.AuthMsgV4
Simple struct to wrap an auth msg.
The RLPx v4 handshake auth is defined in EIP-8.
Link to this section Summary
Functions
Sets the remote ephemeral public key for a given auth msg, based on our secret and the keys passed from remote
Link to this section Types
Link to this type
t()
t() :: %ExWire.Handshake.Struct.AuthMsgV4{remote_ephemeral_public_key: ExthCrypto.Key.public_key, remote_nonce: binary, remote_public_key: ExthCrypto.Key.public_key, remote_version: integer, signature: ExthCrypto.signature}
Link to this section Functions
Link to this function
set_remote_ephemeral_public_key(auth_msg, my_static_private_key)
set_remote_ephemeral_public_key(t, ExthCrypto.Key.private_key) :: t
Sets the remote ephemeral public key for a given auth msg, based on our secret and the keys passed from remote.