Signature we use to verify that the ack from the receiver of the ephemeral key was really send by the specified sender. More...
Data Fields | |
| struct GNUNET_CRYPTO_SignaturePurpose | purpose |
| Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK. | |
| struct GNUNET_PeerIdentity | sender |
| Identity of the inititor of the TCP connection (TCP client). | |
| struct GNUNET_PeerIdentity | receiver |
| Presumed identity of the target of the TCP connection (TCP server) | |
| struct GNUNET_TIME_AbsoluteNBO | monotonic_time |
| Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender). | |
| struct GNUNET_CRYPTO_ChallengeNonceP | challenge |
| Challenge value used to protect against replay attack, if there is no stored monotonic time value. | |
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 164 of file gnunet-communicator-tcp.c.
| struct GNUNET_CRYPTO_SignaturePurpose TcpHandshakeAckSignature::purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK.
Definition at line 169 of file gnunet-communicator-tcp.c.
Referenced by send_challenge(), send_challenge(), try_handle_plaintext(), and try_handle_plaintext().
| struct GNUNET_PeerIdentity TcpHandshakeAckSignature::sender |
Identity of the inititor of the TCP connection (TCP client).
Definition at line 174 of file gnunet-communicator-tcp.c.
Referenced by send_challenge(), send_challenge(), try_handle_plaintext(), and try_handle_plaintext().
| struct GNUNET_PeerIdentity TcpHandshakeAckSignature::receiver |
Presumed identity of the target of the TCP connection (TCP server)
Definition at line 179 of file gnunet-communicator-tcp.c.
Referenced by send_challenge(), send_challenge(), try_handle_plaintext(), and try_handle_plaintext().
| 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 185 of file gnunet-communicator-tcp.c.
Referenced by send_challenge(), send_challenge(), try_handle_plaintext(), and try_handle_plaintext().
| 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 190 of file gnunet-communicator-tcp.c.
Referenced by send_challenge(), send_challenge(), try_handle_plaintext(), and try_handle_plaintext().