GNUnet  0.11.x
Data Fields
EphemeralKeyMessage Struct Reference

Message transmitted with the signed ephemeral key of a peer. More...

Collaboration diagram for EphemeralKeyMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Message type is GNUNET_MESSAGE_TYPE_CORE_EPHEMERAL_KEY. More...
 
int32_t sender_status
 Status of the sender (should be in enum PeerStateMachine), nbo. More...
 
struct GNUNET_CRYPTO_EddsaSignature signature
 An ECC signature of the origin_identity asserting the validity of the given ephemeral key. More...
 
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Information about what is being signed. More...
 
struct GNUNET_TIME_AbsoluteNBO creation_time
 At what time was this key created (beginning of validity). More...
 
struct GNUNET_TIME_AbsoluteNBO expiration_time
 When does the given ephemeral key expire (end of validity). More...
 
struct GNUNET_CRYPTO_EcdhePublicKey ephemeral_key
 Ephemeral public ECC key. More...
 
struct GNUNET_PeerIdentity origin_identity
 Public key of the signing peer (persistent version, not the ephemeral public key). More...
 

Detailed Description

Message transmitted with the signed ephemeral key of a peer.

The session key is then derived from the two ephemeral keys (ECDHE).

Definition at line 83 of file gnunet-service-core_kx.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader EphemeralKeyMessage::header

Message type is GNUNET_MESSAGE_TYPE_CORE_EPHEMERAL_KEY.

Definition at line 88 of file gnunet-service-core_kx.c.

Referenced by send_key(), and sign_ephemeral_key().

◆ sender_status

int32_t EphemeralKeyMessage::sender_status

Status of the sender (should be in enum PeerStateMachine), nbo.

Definition at line 93 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), send_key(), and sign_ephemeral_key().

◆ signature

struct GNUNET_CRYPTO_EddsaSignature EphemeralKeyMessage::signature

An ECC signature of the origin_identity asserting the validity of the given ephemeral key.

Definition at line 99 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), and sign_ephemeral_key().

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose EphemeralKeyMessage::purpose

Information about what is being signed.

Definition at line 104 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), and sign_ephemeral_key().

◆ creation_time

struct GNUNET_TIME_AbsoluteNBO EphemeralKeyMessage::creation_time

At what time was this key created (beginning of validity).

Definition at line 109 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), and sign_ephemeral_key().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO EphemeralKeyMessage::expiration_time

When does the given ephemeral key expire (end of validity).

Definition at line 114 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), and sign_ephemeral_key().

◆ ephemeral_key

struct GNUNET_CRYPTO_EcdhePublicKey EphemeralKeyMessage::ephemeral_key

Ephemeral public ECC key.

Definition at line 119 of file gnunet-service-core_kx.c.

Referenced by do_rekey(), GSC_KX_init(), handle_ephemeral_key(), send_key(), and sign_ephemeral_key().

◆ origin_identity

struct GNUNET_PeerIdentity EphemeralKeyMessage::origin_identity

Public key of the signing peer (persistent version, not the ephemeral public key).

Definition at line 125 of file gnunet-service-core_kx.c.

Referenced by handle_ephemeral_key(), and sign_ephemeral_key().


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