GNUnet 0.21.1
UdpHandshakeSignature Struct Reference

Signature we use to verify that the ephemeral key was really chosen by the specified sender. More...

Collaboration diagram for UdpHandshakeSignature:
[legend]

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_EcdhePublicKey ephemeral
 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...
 

Detailed Description

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.

Field Documentation

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose UdpHandshakeSignature::purpose

◆ sender

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().

◆ receiver

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().

◆ ephemeral

struct GNUNET_CRYPTO_EcdhePublicKey UdpHandshakeSignature::ephemeral

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().

◆ monotonic_time

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().


The documentation for this struct was generated from the following file: