diff options
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 9ddc28a3b..65df94945 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 ********* */ |