diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-06 00:08:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-06 00:08:00 +0200 |
commit | c02d88c8e3f55b109063ced037fb8cffb4d5d844 (patch) | |
tree | 2e6d3c065fd36d8ddd4928d1e2b1f4f7f5d6e3ad /src/include/taler_testing_lib.h | |
parent | 11ea6fcfcee3958733309192300760ac5f693251 (diff) |
work on keys serialization/deserialization
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 56 |
1 files changed, 2 insertions, 54 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 332c3a347..4996fbe21 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -623,6 +623,7 @@ TALER_TESTING_cmd_system_start ( * * @param label command label * @param cfg configuration to use + * @param last_keys_ref reference to command with prior /keys response, NULL for none * @param wait_for_keys block until we got /keys * @param load_private_key obtain private key from file indicated in @a cfg * @return the command. @@ -631,6 +632,7 @@ struct TALER_TESTING_Command TALER_TESTING_cmd_get_exchange ( const char *label, const struct GNUNET_CONFIGURATION_Handle *cfg, + const char *last_keys_ref, bool wait_for_keys, bool load_private_key); @@ -1786,34 +1788,6 @@ struct TALER_TESTING_Command TALER_TESTING_cmd_wait_service (const char *label, const char *url); - -/** - * Make a "check keys" command. - * - * @param label command label - * @return the command. - */ -struct TALER_TESTING_Command -TALER_TESTING_cmd_check_keys (const char *label); - - -/** - * Make a "check keys" command. It lets the user set a last denom issue date to be - * used in the request for /keys. - * - * @param label command label - * @param last_denom_date_ref previous /keys command to use to - * obtain the "last_denom_date" value from; "zero" can be used - * as a special value to force an absolute time of zero to be - * given to as an argument - * @return the command. - */ -struct TALER_TESTING_Command -TALER_TESTING_cmd_check_keys_with_last_denom ( - const char *label, - const char *last_denom_date_ref); - - /** * Create a "batch" command. Such command takes a * end_CMD-terminated array of CMDs and executed them. @@ -1873,31 +1847,6 @@ TALER_TESTING_cmd_batch_set_current (const struct TALER_TESTING_Command *cmd, /** - * Make a serialize-keys CMD. - * - * @param label CMD label - * @return the CMD. - */ -struct TALER_TESTING_Command -TALER_TESTING_cmd_serialize_keys (const char *label); - - -/** - * Make a connect-with-state CMD. This command - * will use a serialized key state to reconnect - * to the exchange. - * - * @param label command label - * @param state_reference label of a CMD offering - * a serialized key state. - * @return the CMD. - */ -struct TALER_TESTING_Command -TALER_TESTING_cmd_connect_with_state (const char *label, - const char *state_reference); - - -/** * Make the "insert-deposit" CMD. * * @param label command label. @@ -2671,7 +2620,6 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, op (bank_auth_data, const struct TALER_BANK_AuthenticationData) \ op (contract_terms, const json_t) \ op (wire_details, const json_t) \ - op (exchange_keys, const json_t) \ op (exchange_url, const char) \ op (auditor_url, const char) \ op (exchange_bank_account_url, const char) \ |