diff options
author | Christian Blättler <blatc2@bfh.ch> | 2024-04-30 22:28:57 +0200 |
---|---|---|
committer | Christian Blättler <blatc2@bfh.ch> | 2024-04-30 22:28:57 +0200 |
commit | 079268ebddc6a5b0662d4481306d219e5e590dc7 (patch) | |
tree | acf0cd631501d6c3b993682545438dee02e05fb1 /src/util/merchant_signatures.c | |
parent | 45350614812212716af26d8161f7360810cef8cb (diff) | |
download | exchange-079268ebddc6a5b0662d4481306d219e5e590dc7.tar.xz |
work on tokens
Diffstat (limited to 'src/util/merchant_signatures.c')
-rw-r--r-- | src/util/merchant_signatures.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/util/merchant_signatures.c b/src/util/merchant_signatures.c index 06708f4b4..4dca3c652 100644 --- a/src/util/merchant_signatures.c +++ b/src/util/merchant_signatures.c @@ -346,49 +346,4 @@ TALER_merchant_contract_sign ( merch_sig); } - -// NB: "TALER_merchant_contract_verify" not (yet?) needed / not defined. - - -GNUNET_NETWORK_STRUCT_BEGIN - -/** - * Message blindly signed by merchant to issue a new token. - */ -struct TALER_TokenIssueRequestPS -{ - - // TODO: Implement this struct - -}; - -GNUNET_NETWORK_STRUCT_END - - -void -TALER_merchant_token_issue_sign ( - const struct TALER_TokenEnvelopeP *envelope, - const struct TALER_TokenIssuePrivateKeyP *issue_priv, - struct TALER_TokenIssueBlindSignatureP *blind_sig) -{ - -} - - -/** - * Verify a token issue signature. - * - * @param use_pub token use public key - * @param issue_pub token issue public key - * @param ub_sig unblinded signature - */ -enum GNUNET_GenericReturnValue -TALER_merchant_token_issue_verify ( - const struct TALER_TokenUsePublicKeyP *use_pub, - const struct TALER_TokenIssuePublicKeyP *issue_pub, - const struct TALER_TokenIssueSignatureP *ub_sig) -{ - return GNUNET_NO; -} - /* end of merchant_signatures.c */ |