summaryrefslogtreecommitdiff
path: root/src/include/gnunet_identity_service.h
diff options
context:
space:
mode:
authorjospaeth <spaethj@in.tum.de>2020-05-25 21:38:58 +0200
committerjospaeth <spaethj@in.tum.de>2020-05-25 21:38:58 +0200
commita32de45ceffeb69038ecfa7b963f30b7fed83a41 (patch)
tree76a39adcf7163c71e470b7c5bf4357dd5471cf9c /src/include/gnunet_identity_service.h
parent19cd0e6d0eca5192a9c8f4f005abd85d531949f1 (diff)
add option to create identity from private keyspaeth/import_identity
Diffstat (limited to 'src/include/gnunet_identity_service.h')
-rw-r--r--src/include/gnunet_identity_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h
index 81af671e2..f4e653598 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -233,6 +233,7 @@ typedef void
*
* @param id identity service to use
* @param name desired name
+ * @param privkey desired private key or NULL to create one
* @param cont function to call with the result (will only be called once)
* @param cont_cls closure for @a cont
* @return handle to abort the operation
@@ -240,6 +241,7 @@ typedef void
struct GNUNET_IDENTITY_Operation *
GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id,
const char *name,
+ const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey,
GNUNET_IDENTITY_CreateContinuation cont,
void *cont_cls);