From 674de353bbcaad5c8467b8024ab368e7a7e0b0ce Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 2 Apr 2016 21:01:08 +0200 Subject: update spec to match implementation more closely --- api-common.rst | 5 +++-- wireformats.rst | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/api-common.rst b/api-common.rst index c4e88d1a..f1170a9e 100644 --- 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 index 1c096ac8..175b06ea 100644 --- 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 -- cgit v1.2.3