diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 3 | ||||
-rw-r--r-- | src/include/taler_signatures.h | 22 |
2 files changed, 23 insertions, 2 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 3fe51d79..185c29a1 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -563,7 +563,8 @@ struct TALER_DenominationPrivateKey * If we use #TALER_DENOMINATION_RSA in @a cipher. */ struct GNUNET_CRYPTO_RsaPrivateKey *rsa_private_key; - }; + + } details; }; diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index b7279a66..34d13380 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1178,7 +1178,27 @@ struct TALER_MasterWireDetailsPS struct GNUNET_CRYPTO_EccSignaturePurpose purpose; /** - * Hash over the account holder's payto:// URL and + * Hash over the account holder's payto:// URL. + */ + struct TALER_PaytoHash h_wire_details GNUNET_PACKED; + +}; + + +/** + * @brief Information signed by the exchange's master + * key affirming the IBAN details for the exchange. + */ +struct TALER_MerchantWireDetailsPS +{ + + /** + * Purpose is #TALER_SIGNATURE_MERCHANT_WIRE_DETAILS. + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + + /** + * Salted hash over the account holder's payto:// URL and * the salt, as done by #TALER_exchange_wire_signature_hash(). */ struct TALER_MerchantWireHash h_wire_details GNUNET_PACKED; |