diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-11-11 18:10:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-11-11 18:10:45 +0100 |
commit | 50066f6d2064a6faab6c4f78336785b167c7f36f (patch) | |
tree | ae1452c73233c964df3dc73d037e7655e5c9ccc0 /api-mint.rst | |
parent | d647b5eac1b5c9d0e97676ddb2684fea75b0804d (diff) | |
download | docs-50066f6d2064a6faab6c4f78336785b167c7f36f.tar.gz docs-50066f6d2064a6faab6c4f78336785b167c7f36f.tar.bz2 docs-50066f6d2064a6faab6c4f78336785b167c7f36f.zip |
define signature format for #3888
Diffstat (limited to 'api-mint.rst')
-rw-r--r-- | api-mint.rst | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/api-mint.rst b/api-mint.rst index 13b2a070..7121d562 100644 --- a/api-mint.rst +++ b/api-mint.rst @@ -570,7 +570,7 @@ typically also view the balance.) :<json base32 coin_pub: coin's public key, both ECDHE and EdDSA. :<json int transaction_id: 64-bit transaction id for the transaction between merchant and customer :<json base32 merchant_pub: the EdDSA public key of the merchant, so that the client can identify the merchant for refund requests. - :<json base32 merchant_sig: the EdDSA signature of the merchant, affirming that it is really the merchant who requires obtaining the wire transfer identifier. + :<json base32 merchant_sig: the EdDSA signature of the merchant made with purpose `TALER_SIGNATURE_MERCHANT_DEPOSIT_WTID` , affirming that it is really the merchant who requires obtaining the wire transfer identifier. **Success Response: OK** @@ -1074,3 +1074,14 @@ The `size` field of the corresponding `struct SignedData` is determined by the s struct GNUNET_HashCode h_wire_types; } }; + + + struct TALER_DepositTrackPS { + signed (purpose = TALER_SIGNATURE_MERCHANT_DEPOSIT_WTID) { + struct GNUNET_HashCode h_contract; + struct GNUNET_HashCode h_wire; + uint64_t transaction_id; + struct TALER_MerchantPublicKeyP merchant; + struct TALER_CoinSpendPublicKeyP coin_pub; + } + }; |