diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-02 21:01:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-02 21:01:08 +0200 |
commit | 674de353bbcaad5c8467b8024ab368e7a7e0b0ce (patch) | |
tree | 4305d51d72f4e6c38c5fa9f261a1fc9a7b460d12 | |
parent | 03701d91990cb37af5b0d21f5b149030857a5853 (diff) | |
download | docs-674de353bbcaad5c8467b8024ab368e7a7e0b0ce.tar.gz docs-674de353bbcaad5c8467b8024ab368e7a7e0b0ce.tar.bz2 docs-674de353bbcaad5c8467b8024ab368e7a7e0b0ce.zip |
update spec to match implementation more closely
-rw-r--r-- | api-common.rst | 5 | ||||
-rw-r--r-- | 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 |