-remove trailing whitespace
[oweals/gnunet.git] / src / include / gnunet_identity_service.h
index 79d27fa02eda782eb26cbe63106577e9acbffbd1..eb94f0fdbae3d8ee321cafee951ffa7db5fb9e2e 100644 (file)
  * @brief Identity service; implements identity management for GNUnet
  * @author Christian Grothoff
  *
- * Identities in GNUnet are ECDSA keys.  You assume an identity by
- * using (signing with) a particular private key.  As GNUnet users are
- * expected to have many egos, we need an identity service to
- * allow users to manage their egos.  The identity service
- * manages the egos (private keys) of the local user; it does
- * NOT manage identities of other users (public keys).  For giving
- * names to other users and manage their public keys securely, we
- * use GNS.
+ * Egos in GNUnet are ECDSA keys.  You assume an ego by using (signing
+ * with) a particular private key.  As GNUnet users are expected to
+ * have many egos, we need an identity service to allow users to
+ * manage their egos.  The identity service manages the egos (private
+ * keys) of the local user; it does NOT manage egos of other users
+ * (public keys).  For giving names to other users and manage their
+ * public keys securely, we use GNS.
  *
  * @defgroup identity identity management service
  * @{
@@ -76,7 +75,7 @@ struct GNUNET_IDENTITY_Operation;
  * @param ego the ego
  * @return associated ECC key, valid as long as the ego is valid
  */
-const struct GNUNET_CRYPTO_EccPrivateKey *
+const struct GNUNET_CRYPTO_EcdsaPrivateKey *
 GNUNET_IDENTITY_ego_get_private_key (const struct GNUNET_IDENTITY_Ego *ego);
 
 
@@ -97,7 +96,7 @@ GNUNET_IDENTITY_ego_get_anonymous (void);
  */
 void
 GNUNET_IDENTITY_ego_get_public_key (const struct GNUNET_IDENTITY_Ego *ego,
-                                   struct GNUNET_CRYPTO_EccPublicSignKey *pk);
+                                   struct GNUNET_CRYPTO_EcdsaPublicKey *pk);
 
 
 /**
@@ -156,7 +155,7 @@ GNUNET_IDENTITY_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
 
 
 /**
- * Obtain the identity that is currently preferred/default
+ * Obtain the ego that is currently preferred/default
  * for a service.
  *
  * @param id identity service to query
@@ -184,7 +183,7 @@ typedef void (*GNUNET_IDENTITY_Continuation)(void *cls,
 
 
 /**
- * Set the preferred/default identity for a service.
+ * Set the preferred/default ego for a service.
  *
  * @param id identity service to inform
  * @param service_name for which service is an identity set
@@ -211,7 +210,7 @@ GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h);
 
 
 /**
- * Create a new identity with the given name.
+ * Create a new ego with the given name.
  *
  * @param id identity service to use
  * @param name desired name
@@ -227,7 +226,7 @@ GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id,
 
 
 /**
- * Renames an existing identity.
+ * Renames an existing ego.
  *
  * @param id identity service to use
  * @param old_name old name
@@ -245,7 +244,7 @@ GNUNET_IDENTITY_rename (struct GNUNET_IDENTITY_Handle *id,
 
 
 /**
- * Delete an existing identity.
+ * Delete an existing ego.
  *
  * @param id identity service to use
  * @param name name of the identity to delete