A private key for an identity as per LSD0001. More...
#include <gnunet_crypto_lib.h>
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... | ||
| }; | ||
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 388 of file gnunet_crypto_lib.h.
| uint32_t GNUNET_CRYPTO_BlindablePrivateKey::type |
Type of public key.
Defined by the GNS zone type value. In NBO.
Definition at line 395 of file gnunet_crypto_lib.h.
Referenced by directory_trim_complete(), ego_sign_data_cb(), GNUNET_CRYPTO_blindable_key_get_public(), GNUNET_CRYPTO_blinded_key_sign_(), GNUNET_CRYPTO_blinded_key_sign_raw_(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), GNUNET_GNSRECORD_encryption_context_setup_owner(), 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_BlindablePrivateKey::ecdsa_key |
An ECDSA identity key.
Definition at line 402 of file gnunet_crypto_lib.h.
Referenced by GNUNET_CRYPTO_blindable_key_get_public(), GNUNET_CRYPTO_blinded_key_sign_(), GNUNET_CRYPTO_blinded_key_sign_raw_(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), run(), and run_pkey().
| struct GNUNET_CRYPTO_EddsaPrivateKey GNUNET_CRYPTO_BlindablePrivateKey::eddsa_key |
AN EdDSA identtiy key.
Definition at line 407 of file gnunet_crypto_lib.h.
Referenced by directory_trim_complete(), ego_sign_data_cb(), GNUNET_CRYPTO_blindable_key_get_public(), GNUNET_CRYPTO_blinded_key_sign_(), GNUNET_CRYPTO_blinded_key_sign_raw_(), GNUNET_CRYPTO_hpke_pk_to_x25519(), GNUNET_CRYPTO_hpke_sk_to_x25519(), GNUNET_IDENTITY_ego_get_anonymous(), run(), run_edkey(), and uri_ksk_continuation().
| union { ... } GNUNET_CRYPTO_BlindablePrivateKey |