GNUnet 0.25.0
 
Loading...
Searching...
No Matches
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.
 
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 399 of file gnunet_crypto_lib.h.

Field Documentation

◆ type

◆ ecdsa_key

◆ eddsa_key

◆ [union]

union { ... } GNUNET_CRYPTO_PrivateKey

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