diff options
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 c156cff6..cef0ac95 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 |