From a913984b294b53d2cec2a3636a311a240d454e98 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sun, 28 Nov 2021 04:25:51 -0500 Subject: fix miscellaneous warnings --- core/api-common.rst | 7 +++++++ core/api-exchange.rst | 24 ++++++++++++++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/core/api-common.rst b/core/api-common.rst index 3c65e5c6..6b0f7929 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -555,36 +555,43 @@ uses 512-bit hash codes (64 bytes). }; .. sourcecode:: c + struct TALER_DenominationHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_PrivateContractHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_ExtensionContractHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_MerchantWireHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_PaytoHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_BlindedCoinHash { struct GNUNET_HashCode hash; }; .. sourcecode:: c + struct TALER_CoinPubHash { struct GNUNET_HashCode hash; }; diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 3edd5311..17f29ec8 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -283,7 +283,9 @@ possibly by using HTTPS. | RsaDenominationKey | CSDenominationKey; - .. ts:def:: RsaDenominationKey { + .. ts:def:: RsaDenominationKey + + interface RsaDenominationKey { cipher: "RSA"; // 32-bit age mask. @@ -293,7 +295,9 @@ possibly by using HTTPS. rsa_public_key: RsaPublicKey; } - .. ts:def:: CSDenominationKey { + .. ts:def:: CSDenominationKey + + interface CSDenominationKey { cipher: "CS"; // 32-bit age mask. @@ -1525,14 +1529,18 @@ exchange. | RsaBlindedDenominationSignature | CSBlindedDenominationSignature; - .. ts:def:: RsaBlindedDenominationSignature { + .. ts:def:: RsaBlindedDenominationSignature + + interface RsaBlindedDenominationSignature { cipher: "RSA"; // (blinded) RSA signature blinded_rsa_signature: BlindedRsaSignature; } - .. ts:def:: CSBlindedDenominationSignature { + .. ts:def:: CSBlindedDenominationSignature + + interface CSBlindedDenominationSignature { type: "CS"; // FIXME: tbd @@ -1733,14 +1741,18 @@ denomination. | RsaDenominationSignature | CSDenominationSignature; - .. ts:def:: RsaDenominationSignature { + .. ts:def:: RsaDenominationSignature + + interface RsaDenominationSignature { cipher: "RSA"; // RSA signature rsa_signature: RsaSignature; } - .. ts:def:: CSBDenominationSignature { + .. ts:def:: CSBDenominationSignature + + interface CSBDenominationSignature { type: "CS"; // FIXME: tbd -- cgit v1.2.3