commit 674de353bbcaad5c8467b8024ab368e7a7e0b0ce parent 03701d91990cb37af5b0d21f5b149030857a5853 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 2 Apr 2016 21:01:08 +0200 update spec to match implementation more closely Diffstat:
| M | api-common.rst | | | 5 | +++-- |
| M | wireformats.rst | | | 6 | +++--- |
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/api-common.rst b/api-common.rst @@ -467,8 +467,9 @@ size of `FIELDS`. } }; - struct TALER_MasterWireSepaDetailsPS { - signed (purpose = TALER_SIGNATURE_MASTER_SEPA_DETAILS) { + struct TALER_MasterWireDetailsPS { + signed (purpose = (TALER_SIGNATURE_MASTER_SEPA_DETAILS || + TALER_SIGNATURE_MASTER_TEST_DETAILS ) ) { struct GNUNET_HashCode h_sepa_details; } }; diff --git a/wireformats.rst b/wireformats.rst @@ -54,11 +54,11 @@ contain a JSON object with the following fields: .. The following are taken from Page 33, SEPA_SCT.pdf . - * `type`: the string constant `"SEPA"` - * `IBAN`: the International Bank Account Number (IBAN) of the account of the beneficiary + * `type`: the string constant `"sepa"` + * `iban`: the International Bank Account Number (IBAN) of the account of the beneficiary * `name`: the name of the beneficiary * `bic`: the Bank Identification Code (BIC) code of the beneficiary's bank - * `r`: random salt (used to make brute-forcing the hash harder) + * `salt`: random salt (used to make brute-forcing the hash harder) The JSON object may optionally contain: * `address`: the address of the Beneficiary