GNUnet 0.21.1
TcpHandshakeAckSignature Struct Reference

Signature we use to verify that the ack from the receiver of the ephemeral key was really send by the specified sender. More...

Collaboration diagram for TcpHandshakeAckSignature:
[legend]

Data Fields

struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK. More...
 
struct GNUNET_PeerIdentity sender
 Identity of the inititor of the TCP connection (TCP client). More...
 
struct GNUNET_PeerIdentity receiver
 Presumed identity of the target of the TCP connection (TCP server) More...
 
struct GNUNET_TIME_AbsoluteNBO monotonic_time
 Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender). More...
 
struct GNUNET_CRYPTO_ChallengeNonceP challenge
 Challenge value used to protect against replay attack, if there is no stored monotonic time value. More...
 

Detailed Description

Signature we use to verify that the ack from the receiver of the ephemeral key was really send by the specified sender.

Definition at line 160 of file gnunet-communicator-tcp.c.

Field Documentation

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose TcpHandshakeAckSignature::purpose

◆ sender

struct GNUNET_PeerIdentity TcpHandshakeAckSignature::sender

Identity of the inititor of the TCP connection (TCP client).

Definition at line 170 of file gnunet-communicator-tcp.c.

Referenced by send_challenge(), and try_handle_plaintext().

◆ receiver

struct GNUNET_PeerIdentity TcpHandshakeAckSignature::receiver

Presumed identity of the target of the TCP connection (TCP server)

Definition at line 175 of file gnunet-communicator-tcp.c.

Referenced by send_challenge(), and try_handle_plaintext().

◆ monotonic_time

struct GNUNET_TIME_AbsoluteNBO TcpHandshakeAckSignature::monotonic_time

Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender).

Definition at line 181 of file gnunet-communicator-tcp.c.

Referenced by send_challenge(), and try_handle_plaintext().

◆ challenge

struct GNUNET_CRYPTO_ChallengeNonceP TcpHandshakeAckSignature::challenge

Challenge value used to protect against replay attack, if there is no stored monotonic time value.

Definition at line 186 of file gnunet-communicator-tcp.c.

Referenced by send_challenge(), and try_handle_plaintext().


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