Signature we use to verify that the ephemeral key was really chosen by the specified sender. More...
Data Fields | |
struct GNUNET_CRYPTO_EccSignaturePurpose | purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE. More... | |
struct GNUNET_PeerIdentity | sender |
Identity of the inititor of the UDP connection (UDP client). More... | |
struct GNUNET_PeerIdentity | receiver |
Presumed identity of the target of the UDP connection (UDP server) More... | |
struct GNUNET_CRYPTO_HpkeEncapsulation | enc |
Ephemeral key used by the sender. More... | |
struct GNUNET_TIME_AbsoluteNBO | monotonic_time |
Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender). More... | |
Signature we use to verify that the ephemeral key was really chosen by the specified sender.
If possible, the receiver should respond with a struct UDPAck
(possibly via backchannel).
Definition at line 164 of file gnunet-communicator-udp.c.
struct GNUNET_CRYPTO_EccSignaturePurpose UdpHandshakeSignature::purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE.
Definition at line 169 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().
struct GNUNET_PeerIdentity UdpHandshakeSignature::sender |
Identity of the inititor of the UDP connection (UDP client).
Definition at line 174 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().
struct GNUNET_PeerIdentity UdpHandshakeSignature::receiver |
Presumed identity of the target of the UDP connection (UDP server)
Definition at line 179 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().
struct GNUNET_CRYPTO_HpkeEncapsulation UdpHandshakeSignature::enc |
Ephemeral key used by the sender.
Definition at line 184 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().
struct GNUNET_TIME_AbsoluteNBO UdpHandshakeSignature::monotonic_time |
Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender).
Definition at line 190 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().