|
struct GNUNET_REVOCATION_Query * | GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_IDENTITY_PublicKey *key, GNUNET_REVOCATION_Callback func, void *func_cls) |
| Check if a key was revoked. More...
|
|
void | GNUNET_REVOCATION_query_cancel (struct GNUNET_REVOCATION_Query *q) |
| Cancel key revocation check. More...
|
|
struct GNUNET_REVOCATION_Handle * | GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg, const struct GNUNET_REVOCATION_PowP *pow, GNUNET_REVOCATION_Callback func, void *func_cls) |
| Perform key revocation. More...
|
|
void | GNUNET_REVOCATION_revoke_cancel (struct GNUNET_REVOCATION_Handle *h) |
| Cancel key revocation. More...
|
|
enum GNUNET_GenericReturnValue | GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow, unsigned int matching_bits, struct GNUNET_TIME_Relative epoch_duration) |
| Check if the given proof-of-work is valid. More...
|
|
void | GNUNET_REVOCATION_pow_init (const struct GNUNET_IDENTITY_PrivateKey *key, struct GNUNET_REVOCATION_PowP *pow) |
| Initializes a fresh PoW computation. More...
|
|
struct GNUNET_REVOCATION_PowCalculationHandle * | GNUNET_REVOCATION_pow_start (struct GNUNET_REVOCATION_PowP *pow, int epochs, unsigned int difficulty) |
| Starts a proof-of-work calculation given the pow object as well as target epochs and difficulty. More...
|
|
enum GNUNET_GenericReturnValue | GNUNET_REVOCATION_pow_round (struct GNUNET_REVOCATION_PowCalculationHandle *pc) |
| Calculate a single round in the key revocation PoW. More...
|
|
void | GNUNET_REVOCATION_pow_stop (struct GNUNET_REVOCATION_PowCalculationHandle *pc) |
| Stop a PoW calculation. More...
|
|
size_t | GNUNET_REVOCATION_proof_get_size (const struct GNUNET_REVOCATION_PowP *pow) |
|
API to perform and access key revocations.
Definition in file gnunet_revocation_service.h.