A private key for an identity as per LSD0001. More...
#include <gnunet_crypto_lib.h>
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... | |
}; | |
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.
uint32_t GNUNET_CRYPTO_PrivateKey::type |
Type of public key.
Defined by the GNS zone type value. In NBO.
Definition at line 406 of file gnunet_crypto_lib.h.
Referenced by directory_trim_complete(), ego_sign_data_cb(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), GNUNET_CRYPTO_key_get_public(), GNUNET_CRYPTO_sign_(), GNUNET_CRYPTO_sign_raw_(), GNUNET_GNSRECORD_proof_get_size(), GNUNET_GNSRECORD_query_from_private_key(), GNUNET_IDENTITY_ego_get_anonymous(), run(), run_edkey(), run_pkey(), and uri_ksk_continuation().
struct GNUNET_CRYPTO_EcdsaPrivateKey GNUNET_CRYPTO_PrivateKey::ecdsa_key |
An ECDSA identity key.
Definition at line 413 of file gnunet_crypto_lib.h.
Referenced by directory_trim_complete(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), GNUNET_CRYPTO_key_get_public(), GNUNET_CRYPTO_sign_(), GNUNET_CRYPTO_sign_raw_(), GNUNET_IDENTITY_ego_get_anonymous(), run(), run_edkey(), run_pkey(), and uri_ksk_continuation().
struct GNUNET_CRYPTO_EddsaPrivateKey GNUNET_CRYPTO_PrivateKey::eddsa_key |
AN EdDSA identtiy key.
Definition at line 418 of file gnunet_crypto_lib.h.
Referenced by ego_sign_data_cb(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), GNUNET_CRYPTO_key_get_public(), GNUNET_CRYPTO_sign_(), GNUNET_CRYPTO_sign_raw_(), run(), and run_edkey().
union { ... } GNUNET_CRYPTO_PrivateKey::@9 |