From b46c03b2c9e7d8e5136a84b2fb3d6af8277947df Mon Sep 17 00:00:00 2001 From: priscilla Date: Thu, 2 Mar 2023 09:54:54 -0500 Subject: totp algorithm --- src/include/taler_crypto_lib.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'src/include/taler_crypto_lib.h') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index b6ec2ed8..db50efa1 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -591,7 +591,17 @@ enum TALER_MerchantConfirmationAlgorithm /** * No purchase confirmation. */ - TALER_MCA_NONE = 0 + TALER_MCA_NONE = 0, + + /** + * Purchase confirmation without payment + */ + TALER_MCA_WITHOUT_PRICE = 1, + + /** + * Purchase confirmation with payment + */ + TALER_MCA_WITH_PRICE = 2 }; @@ -939,7 +949,13 @@ GNUNET_NETWORK_STRUCT_END /** - * FIXME. + * It is build pos confirmation to verify paiement. + * + * @param pos_key encoded key for verification payment + * @param pos_alg algorithm to compute the payment verification + * @param total of the order paid + * @parmam ts is the time given + * */ char * TALER_build_pos_confirmation (const char *pos_key, -- cgit v1.2.3