GNUnet 0.22.2
EphemeralKeyMessage Struct Reference

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

#include <gnunet_core_service.h>

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 64 of file gnunet_core_service.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader EphemeralKeyMessage::header

Message type is GNUNET_MESSAGE_TYPE_CORE_EPHEMERAL_KEY.

Definition at line 69 of file gnunet_core_service.h.

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 74 of file gnunet_core_service.h.

Referenced by 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 80 of file gnunet_core_service.h.

Referenced by sign_ephemeral_key().

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose EphemeralKeyMessage::purpose

Information about what is being signed.

Definition at line 85 of file gnunet_core_service.h.

Referenced by 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 90 of file gnunet_core_service.h.

Referenced by 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 95 of file gnunet_core_service.h.

Referenced by sign_ephemeral_key().

◆ ephemeral_key

struct GNUNET_CRYPTO_EcdhePublicKey EphemeralKeyMessage::ephemeral_key

Ephemeral public ECC key.

Definition at line 100 of file gnunet_core_service.h.

Referenced by do_rekey(), GSC_KX_init(), 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 106 of file gnunet_core_service.h.

Referenced by sign_ephemeral_key().


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