GNUnet 0.21.1
TcpHandshakeSignature Struct Reference

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

Collaboration diagram for TcpHandshakeSignature:
[legend]

Data Fields

struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE. 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_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...
 
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 ephemeral key was really chosen by the specified sender.

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

Field Documentation

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose TcpHandshakeSignature::purpose

◆ sender

struct GNUNET_PeerIdentity TcpHandshakeSignature::sender

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

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

Referenced by decrypt_and_check_tc(), and transmit_kx().

◆ receiver

struct GNUNET_PeerIdentity TcpHandshakeSignature::receiver

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

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

Referenced by decrypt_and_check_tc(), and transmit_kx().

◆ ephemeral

struct GNUNET_CRYPTO_EcdhePublicKey TcpHandshakeSignature::ephemeral

Ephemeral key used by the sender.

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

Referenced by decrypt_and_check_tc(), and transmit_kx().

◆ monotonic_time

struct GNUNET_TIME_AbsoluteNBO TcpHandshakeSignature::monotonic_time

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

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

Referenced by decrypt_and_check_tc(), and transmit_kx().

◆ challenge

struct GNUNET_CRYPTO_ChallengeNonceP TcpHandshakeSignature::challenge

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

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

Referenced by decrypt_and_check_tc(), and transmit_kx().


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