From 083e5e6c9f570832fa52e0875ed357a3189d1879 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Mar 2016 01:30:09 +0100 Subject: updating specification in view of #3987 --- api-common.rst | 16 ++++++++++++++++ api-exchange.rst | 3 +++ 2 files changed, 19 insertions(+) diff --git a/api-common.rst b/api-common.rst index 63858b2d..c4e88d1a 100644 --- a/api-common.rst +++ b/api-common.rst @@ -488,3 +488,19 @@ size of `FIELDS`. struct TALER_CoinSpendPublicKeyP coin_pub; } }; + + struct TALER_ExchangeKeyValidityPS { + signed (purpose = TALER_SIGNATURE_AUDITOR_EXCHANGE_KEYS) { + struct GNUNET_HashCode auditor_url_hash; + struct TALER_MasterPublicKeyP master; + struct GNUNET_TIME_AbsoluteNBO start; + struct GNUNET_TIME_AbsoluteNBO expire_withdraw; + struct GNUNET_TIME_AbsoluteNBO expire_spend; + struct GNUNET_TIME_AbsoluteNBO expire_legal; + struct TALER_AmountNBO value; + struct TALER_AmountNBO fee_withdraw; + struct TALER_AmountNBO fee_deposit; + struct TALER_AmountNBO fee_refresh; + struct GNUNET_HashCode denom_hash GNUNET_PACKED; + } + }; diff --git a/api-exchange.rst b/api-exchange.rst index 7d2efb6c..7359ef39 100644 --- a/api-exchange.rst +++ b/api-exchange.rst @@ -161,6 +161,9 @@ possibly by using HTTPS. // The auditor's EdDSA signing public key. auditor_pub: EddsaPublicKey; + // The auditor's URL. + auditor_url: String; + // An array of denomination keys the auditor affirms with its signature. // Note that the message only includes the hash of the public key, while the // signature is actually over the expanded information including expiration -- cgit v1.2.3