GNUnet  0.11.x
Data Fields
GNUNET_IDENTITY_PrivateKey Struct Reference

A private key for an identity as per LSD0001. More...

#include <gnunet_identity_service.h>

Collaboration diagram for GNUNET_IDENTITY_PrivateKey:

Data Fields

uint32_t type
 Type of public key. More...
union {
   struct GNUNET_CRYPTO_EcdsaPrivateKey   ecdsa_key
 An ECDSA identity key. More...
   struct GNUNET_CRYPTO_EddsaPrivateKey   eddsa_key
 AN EdDSA identtiy key. More...

Detailed Description

A private key for an identity as per LSD0001.

Definition at line 91 of file gnunet_identity_service.h.

Field Documentation

◆ type

uint32_t GNUNET_IDENTITY_PrivateKey::type

◆ ecdsa_key

struct GNUNET_CRYPTO_EcdsaPrivateKey GNUNET_IDENTITY_PrivateKey::ecdsa_key

◆ eddsa_key

struct GNUNET_CRYPTO_EddsaPrivateKey GNUNET_IDENTITY_PrivateKey::eddsa_key

AN EdDSA identtiy key.

Definition at line 98 of file gnunet_identity_service.h.

Referenced by GNUNET_IDENTITY_decrypt(), and run_edkey().


union { ... }

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