GNUnet 0.22.2
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 426 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 433 of file gnunet_crypto_lib.h.

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

◆ ecdsa_key

struct GNUNET_CRYPTO_EcdsaPublicKey GNUNET_CRYPTO_PublicKey::ecdsa_key

An ECDSA identity key.

Definition at line 440 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 445 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: