aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/did_helper.h
diff options
context:
space:
mode:
authorTristan Schwieren <tristan.schwieren@tum.de>2022-06-24 15:03:11 +0200
committerTristan Schwieren <tristan.schwieren@tum.de>2022-06-24 15:03:11 +0200
commitbc05f5201575ac97edbfedbc77d780fd6db558d6 (patch)
treed655b5938be2fcddafcec531556d2d4d4ca47de9 /src/reclaim/did_helper.h
parentddd4bb9fcc3bed58c87882113dc787fa4461fd3d (diff)
downloadgnunet-bc05f5201575ac97edbfedbc77d780fd6db558d6.tar.gz
gnunet-bc05f5201575ac97edbfedbc77d780fd6db558d6.zip
- changed did_core header
Diffstat (limited to 'src/reclaim/did_helper.h')
-rw-r--r--src/reclaim/did_helper.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/reclaim/did_helper.h b/src/reclaim/did_helper.h
index 11bab0354..729d0d835 100644
--- a/src/reclaim/did_helper.h
+++ b/src/reclaim/did_helper.h
@@ -31,7 +31,7 @@
31 * @brief Return a DID for a given GNUNET public key 31 * @brief Return a DID for a given GNUNET public key
32 */ 32 */
33char * 33char *
34GNUNET_DID_pkey_to_did (struct GNUNET_IDENTITY_PublicKey *pkey); 34DID_pkey_to_did (struct GNUNET_IDENTITY_PublicKey *pkey);
35 35
36/** 36/**
37 * @brief Generate a DID for a given gnunet EGO 37 * @brief Generate a DID for a given gnunet EGO
@@ -40,13 +40,13 @@ GNUNET_DID_pkey_to_did (struct GNUNET_IDENTITY_PublicKey *pkey);
40 * @return char * Returns the DID. Caller must free 40 * @return char * Returns the DID. Caller must free
41 */ 41 */
42char * 42char *
43GNUNET_DID_identity_to_did (struct GNUNET_IDENTITY_Ego *ego); 43DID_identity_to_did (struct GNUNET_IDENTITY_Ego *ego);
44 44
45/** 45/**
46 * @brief Return the public key of a DID 46 * @brief Return the public key of a DID
47 */ 47 */
48int 48int
49GNUNET_DID_did_to_pkey (char *did, struct GNUNET_IDENTITY_PublicKey *pkey); 49DID_did_to_pkey (char *did, struct GNUNET_IDENTITY_PublicKey *pkey);
50 50
51// /** 51// /**
52// * @brief Convert a base 64 encoded public key to a GNUNET key 52// * @brief Convert a base 64 encoded public key to a GNUNET key
@@ -58,17 +58,17 @@ GNUNET_DID_did_to_pkey (char *did, struct GNUNET_IDENTITY_PublicKey *pkey);
58 * @brief Convert GNUNET key to a base 64 encoded public key 58 * @brief Convert GNUNET key to a base 64 encoded public key
59 */ 59 */
60char * 60char *
61GNUNET_DID_key_covert_gnunet_to_multibase_base64 (struct 61DID_key_covert_gnunet_to_multibase_base64 (struct
62 GNUNET_IDENTITY_PublicKey *); 62 GNUNET_IDENTITY_PublicKey *);
63 63
64/** 64/**
65 * @brief Generate the default DID document for a GNUNET public key 65 * @brief Generate the default DID document for a GNUNET public key
66 */ 66 */
67char * 67char *
68GNUNET_DID_pkey_to_did_document (struct GNUNET_IDENTITY_PublicKey *pkey); 68DID_pkey_to_did_document (struct GNUNET_IDENTITY_PublicKey *pkey);
69 69
70/** 70/**
71 * @brief Generate the default DID document for a GNUNET ego 71 * @brief Generate the default DID document for a GNUNET ego
72 */ 72 */
73char * 73char *
74GNUNET_DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego); \ No newline at end of file 74DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego); \ No newline at end of file