diff options
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r-- | src/include/taler_signatures.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 6b5d37685..93e48b7ce 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -167,6 +167,12 @@ */ #define TALER_SIGNATURE_EXCHANGE_AFFIRM_DENOM_EXPIRED 1043 +/** + * Signature by which an exchange affirms that an account + * successfully passed the KYC checks. + */ +#define TALER_SIGNATURE_EXCHANGE_ACCOUNT_SETUP_SUCCESS 1044 + /**********************/ /* Auditor signatures */ @@ -819,6 +825,31 @@ struct TALER_ExchangeKeySetPS /** + * @brief Signature by which an exchange affirms that an account + * successfully passed the KYC checks. + */ +struct TALER_ExchangeAccountSetupSuccessPS +{ + /** + * Purpose is #TALER_SIGNATURE_EXCHANGE_ACCOUNT_SETUP_SUCCESS. Signed by a + * `struct TALER_ExchangePublicKeyP` using EdDSA. + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + + /** + * Hash over the payto for which the signature was + * made. + */ + struct GNUNET_HashCode h_payto; + + /** + * When was the signature made. + */ + struct GNUNET_TIME_AbsoluteNBO timestamp; +}; + + +/** * @brief Signature made by the exchange offline key over the information of * an auditor to be added to the exchange's set of auditors. */ |