diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-10 17:18:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-10 17:18:24 +0200 |
commit | 8951abfc505c38aaea2b709e5540e84cf7971cf4 (patch) | |
tree | b8f0a3bc395735b7d0bbc42e9f23a162a5a5d789 /src/include/taler_signatures.h | |
parent | df681b0d9585cbd69f377304643a8877fd4fb00a (diff) | |
download | exchange-8951abfc505c38aaea2b709e5540e84cf7971cf4.tar.gz exchange-8951abfc505c38aaea2b709e5540e84cf7971cf4.tar.bz2 exchange-8951abfc505c38aaea2b709e5540e84cf7971cf4.zip |
-finish implemnetation of /kyc-check client library
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. */ |