diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2021-11-28 04:25:51 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2021-11-28 04:25:51 -0500 |
commit | a913984b294b53d2cec2a3636a311a240d454e98 (patch) | |
tree | c1d8ab4df383357207f91238b923ecaca64ab67a | |
parent | 73c0d522faf2c6146480cb4272da345c76364a05 (diff) | |
download | docs-a913984b294b53d2cec2a3636a311a240d454e98.tar.gz docs-a913984b294b53d2cec2a3636a311a240d454e98.tar.bz2 docs-a913984b294b53d2cec2a3636a311a240d454e98.zip |
fix miscellaneous warnings
-rw-r--r-- | core/api-common.rst | 7 | ||||
-rw-r--r-- | 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 |