summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-27 00:36:19 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-27 00:36:19 +0100
commita69079ef6c4278a4653028e9587a4ecd84ae4aff (patch)
tree0d1adedf24abd4523146cb57246dc981d5cbfa25 /src/include/taler_testing_lib.h
parentb1932df0ce88c7d39502af58f19e0a709e08048c (diff)
downloadexchange-a69079ef6c4278a4653028e9587a4ecd84ae4aff.tar.gz
exchange-a69079ef6c4278a4653028e9587a4ecd84ae4aff.tar.bz2
exchange-a69079ef6c4278a4653028e9587a4ecd84ae4aff.zip
add cmd to revoke exchange online signing key
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h31
1 files changed, 18 insertions, 13 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 9ddc28a3..65df9494 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2112,7 +2112,7 @@ TALER_TESTING_cmd_offline_sign_keys (const char *label,
* @return the command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_revoke_denomination (
+TALER_TESTING_cmd_revoke_denom_key (
const char *label,
unsigned int expected_response_code,
bool bad_sig,
@@ -2120,32 +2120,37 @@ TALER_TESTING_cmd_revoke_denomination (
/**
- * Have the auditor affirm that it is auditing the given
- * denomination key and upload the auditor's signature to
- * the exchange.
+ * Revoke an exchange online signing key.
*
* @param label command label.
- * @param denom_ref reference to a command that identifies
- * a denomination key (i.e. because it was used to
- * withdraw a coin).
+ * @param expected_http_status expected HTTP status from exchange
+ * @param bad_sig should we use a bogus signature?
+ * @param signkey_ref reference to a command that identifies
+ * a signing key (i.e. because it was used to
+ * sign a deposit confirmation).
* @return the command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_auditor_add_denom_key (const char *denom_ref);
+TALER_TESTING_cmd_revoke_sign_key (
+ const char *label,
+ unsigned int expected_response_code,
+ bool bad_sig,
+ const char *signkey_ref);
/**
- * Revoke an exchange signing key.
+ * Have the auditor affirm that it is auditing the given
+ * denomination key and upload the auditor's signature to
+ * the exchange.
*
* @param label command label.
* @param denom_ref reference to a command that identifies
- * a signing key (i.e. because it was used to
- * sign a deposit confirmation).
+ * a denomination key (i.e. because it was used to
+ * withdraw a coin).
* @return the command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_revoke_denom_key (const char *label,
- const char *signkey_ref);
+TALER_TESTING_cmd_auditor_add_denom_key (const char *denom_ref);
/* *** Generic trait logic for implementing traits ********* */