GNUnet 0.21.0
GNUNET_CRYPTO_PrivateKey Struct Reference

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

#include <gnunet_crypto_lib.h>

Collaboration diagram for GNUNET_CRYPTO_PrivateKey:
[legend]

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.

Note that these types are NOT packed and MUST NOT be used in RPC messages. Use the respective serialization functions.

Definition at line 386 of file gnunet_crypto_lib.h.

Field Documentation

◆ type

◆ ecdsa_key

◆ eddsa_key

◆ 

union { ... } GNUNET_CRYPTO_PrivateKey::@9

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