27#define GNUNET_DID_METHOD_PREFIX "did:gns:"
28#define MAX_DID_SPECIFIC_IDENTIFIER_LENGTH 59
enum GNUNET_GenericReturnValue DID_did_to_pkey(const char *did, struct GNUNET_CRYPTO_PublicKey *pkey)
Return the public key of a DID.
char * DID_pkey_to_did_document(struct GNUNET_CRYPTO_PublicKey *pkey)
Generate the default DID document for a GNUNET public key.
char * DID_pkey_to_did(struct GNUNET_CRYPTO_PublicKey *pkey)
Return a DID for a given GNUNET public key.
char * DID_identity_to_did(struct GNUNET_IDENTITY_Ego *ego)
Generate a DID for a given gnunet EGO.
char * DID_identity_to_did_document(struct GNUNET_IDENTITY_Ego *ego)
Generate the default DID document for a GNUNET ego.
char * DID_key_convert_gnunet_to_multibase_base64(struct GNUNET_CRYPTO_PublicKey *)
Convert GNUNET key to a base 64 encoded public key.
static char * did
DID Attribute String.
static char * pkey
Public key of the zone to look in, in ASCII.
GNUNET_GenericReturnValue
Named constants for return values.
An identity key as per LSD0001.