diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-20 15:17:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-20 15:17:41 +0100 |
commit | 93a98f8091329d44fe63c092da5f4eaf3bcb983d (patch) | |
tree | 8bb70e9d3bc4513a484bc136d3a53d9d5a8b8c56 /src/mint/taler-mint-httpd_keys.h | |
parent | ed51946442e5e22a7dea68f14ff2bf563503c755 (diff) | |
download | exchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.tar.gz exchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.tar.bz2 exchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.zip |
starting to refactor refresh code, moving response generation logic to response generation file
Diffstat (limited to 'src/mint/taler-mint-httpd_keys.h')
-rw-r--r-- | src/mint/taler-mint-httpd_keys.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_keys.h b/src/mint/taler-mint-httpd_keys.h index c156cff66..cef0ac950 100644 --- a/src/mint/taler-mint-httpd_keys.h +++ b/src/mint/taler-mint-httpd_keys.h @@ -152,4 +152,17 @@ TALER_MINT_handler_keys (struct RequestHandler *rh, const char *upload_data, size_t *upload_data_size); + +/** + * Sign the message in @a purpose with the mint's signing + * key. + * + * @param purpose the message to sign + * @param[OUT] sig signature over purpose using current signing key + */ +void +TALER_MINT_keys_sign (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose, + struct GNUNET_CRYPTO_EddsaSignature *sig); + + #endif |