#define GNUNET_RECLAIM_DID_METHOD_PREFIX
char * DID_ego_to_did(struct GNUNET_IDENTITY_Ego *ego)
Create a DID string from an ego in the format did:gns:<pubkey>
enum GNUNET_GenericReturnValue DID_public_key_from_did(const char *did, struct GNUNET_CRYPTO_PublicKey *pk)
Extract the public key from a DID in the format did:gns:<pubkey>
static char * did
DID Attribute String.
struct GNUNET_CRYPTO_PrivateKey pk
Private key from command line option, or NULL.
static char * pkey
Public key of the zone to look in, in ASCII.
Identity service; implements identity management for GNUnet.
void GNUNET_IDENTITY_ego_get_public_key(struct GNUNET_IDENTITY_Ego *ego, struct GNUNET_CRYPTO_PublicKey *pk)
Get the identifier (public key) of an ego.
char * GNUNET_CRYPTO_public_key_to_string(const struct GNUNET_CRYPTO_PublicKey *key)
Creates a (Base32) string representation of the public key.
GNUNET_GenericReturnValue
Named constants for return values.
enum GNUNET_GenericReturnValue GNUNET_CRYPTO_public_key_from_string(const char *str, struct GNUNET_CRYPTO_PublicKey *key)
Parses a (Base32) string representation of the public key.
int int GNUNET_asprintf(char **buf, const char *format,...) __attribute__((format(printf
Like asprintf, just portable.
#define GNUNET_free(ptr)
Wrapper around free.
An identity key as per LSD0001.