GNUnet 0.21.1
GNUNET_CRYPTO_PublicKey Struct Reference

An identity key as per LSD0001. More...

#include <gnunet_crypto_lib.h>

Collaboration diagram for GNUNET_CRYPTO_PublicKey:
[legend]

Data Fields

uint32_t type
 Type of public key. More...
 
union {
   struct GNUNET_CRYPTO_EcdsaPublicKey   ecdsa_key
 An ECDSA identity key. More...
 
   struct GNUNET_CRYPTO_EddsaPublicKey   eddsa_key
 AN EdDSA identtiy key. More...
 
}; 
 

Detailed Description

An identity key as per LSD0001.

Definition at line 413 of file gnunet_crypto_lib.h.

Field Documentation

◆ type

uint32_t GNUNET_CRYPTO_PublicKey::type

Type of public key.

Defined by the GNS zone type value. In NBO.

Definition at line 420 of file gnunet_crypto_lib.h.

Referenced by GNUNET_GNSRECORD_block_decrypt(), GNUNET_GNSRECORD_query_from_public_key(), GNUNET_IDENTITY_ego_get_anonymous(), and zone_to_name().

◆ ecdsa_key

struct GNUNET_CRYPTO_EcdsaPublicKey GNUNET_CRYPTO_PublicKey::ecdsa_key

An ECDSA identity key.

Definition at line 427 of file gnunet_crypto_lib.h.

Referenced by GNUNET_GNSRECORD_block_decrypt(), GNUNET_GNSRECORD_query_from_public_key(), and run_pkey().

◆ eddsa_key

struct GNUNET_CRYPTO_EddsaPublicKey GNUNET_CRYPTO_PublicKey::eddsa_key

AN EdDSA identtiy key.

Definition at line 432 of file gnunet_crypto_lib.h.

Referenced by GNUNET_GNSRECORD_block_decrypt(), GNUNET_GNSRECORD_query_from_public_key(), and run_edkey().

◆ 

union { ... } GNUNET_CRYPTO_PublicKey::@11

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