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. | |
struct GNUNET_PeerIdentity | sender |
Identity of the inititor of the UDP connection (UDP client). | |
struct GNUNET_PeerIdentity | receiver |
Presumed identity of the target of the UDP connection (UDP server) | |
struct GNUNET_CRYPTO_HpkeEncapsulation | enc |
Ephemeral key used by the sender. | |
struct GNUNET_TIME_AbsoluteNBO | monotonic_time |
Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender). | |
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 168 of file gnunet-communicator-udp.c.
struct GNUNET_CRYPTO_EccSignaturePurpose UdpHandshakeSignature::purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE.
Definition at line 173 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 178 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 183 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 188 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 194 of file gnunet-communicator-udp.c.
Referenced by send_msg_with_kx(), and verify_confirmation().