aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_mint_service.h
diff options
context:
space:
mode:
authorFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-06 11:12:21 +0200
committerFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-06 11:12:21 +0200
commitec479de4b9aae3f1d29c541bd185bd9ab4076d23 (patch)
tree5f750a39ef4265f09d97d9feea7171045f041916 /src/include/taler_mint_service.h
parent4478ba33a108c8d756221d521006abd790043830 (diff)
parent1164803c8bf17e653630ba4316e0ecb85f0a402a (diff)
Merge branch 'master' of taler.net:/var/git/mint
Diffstat (limited to 'src/include/taler_mint_service.h')
-rw-r--r--src/include/taler_mint_service.h58
1 files changed, 36 insertions, 22 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h
index 7822d620..c9dbfb87 100644
--- a/src/include/taler_mint_service.h
+++ b/src/include/taler_mint_service.h
@@ -118,28 +118,6 @@ enum TALER_MINT_Option
/**
- * Information we get from the mint about auditors.
- */
-struct TALER_MINT_AuditorInformation
-{
- /**
- * Public key of the auditing institution.
- */
- struct TALER_AuditorPublicKeyP auditor_pub;
-
- /**
- * URL of the auditing institution. The application must check that
- * this is an acceptable auditor for its purpose and also verify
- * that the @a auditor_pub matches the auditor's public key given at
- * that website. We expect that in practice software is going to
- * often ship with an initial list of accepted auditors, just like
- * browsers ship with a CA root store.
- */
- const char *auditor_url;
-};
-
-
-/**
* @brief Mint's signature key
*/
struct TALER_MINT_SigningPublicKey
@@ -210,6 +188,42 @@ struct TALER_MINT_DenomPublicKey
/**
+ * Information we get from the mint about auditors.
+ */
+struct TALER_MINT_AuditorInformation
+{
+ /**
+ * Public key of the auditing institution.
+ */
+ struct TALER_AuditorPublicKeyP auditor_pub;
+
+ /**
+ * URL of the auditing institution. The application must check that
+ * this is an acceptable auditor for its purpose and also verify
+ * that the @a auditor_pub matches the auditor's public key given at
+ * that website. We expect that in practice software is going to
+ * often ship with an initial list of accepted auditors, just like
+ * browsers ship with a CA root store.
+ */
+ const char *auditor_url;
+
+ /**
+ * Number of denomination keys audited by this auditor.
+ */
+ unsigned int num_denom_keys;
+
+ /**
+ * Array of length @a denom_keys with the denomination
+ * keys audited by this auditor. Note that the array
+ * elements point to the same locations as the entries
+ * in the key's main `denom_keys` array.
+ */
+ struct TALER_MINT_DenomPublicKey *const*denom_keys;
+};
+
+
+
+/**
* Information about keys from the mint.
*/
struct TALER_MINT_Keys