diff options
-rw-r--r-- | core/api-common.rst | 21 | ||||
-rw-r--r-- | core/api-exchange.rst | 7 | ||||
-rw-r--r-- | core/api-merchant.rst | 2 |
3 files changed, 23 insertions, 7 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index a6bb9abe..863d3099 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -543,7 +543,7 @@ Blinded coin // coin's `public EdDSA key <eddsa-coin-pub>`. interface RSACoinEnvelope { cipher: "RSA" | "RSA+age_restricted"; - rsa_blinded_planchet: string; // Crockford `Base32` encoded + rsa_blinded_planchet: BlindedRsaSignature; } .. ts:def:: CSCoinEnvelope @@ -567,6 +567,25 @@ Blinded coin type DenominationBlindingKeyP = string; +. _unblinded-coin: + +Unblinded coin +^^^^^^^^^^^^^^ + +.. ts:def:: UnblindedSignature + + // The type of a coin's unblinded signature depends on the cipher that was used + // for signing with a denomination key. + // Note that for now, only RSA is supported. + type UnblindedSignature = RsaUnblindedSignature; + +.. ts:def:: RsaUnblindedSignature + + interface RsaUnblindedSignature { + cipher: "RSA"; + rsa_signature: RsaSignature; + } + .. _signature: diff --git a/core/api-exchange.rst b/core/api-exchange.rst index c257cf4e..404e9706 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -3398,7 +3398,7 @@ the API during normal operation. // Melt commitment. Hash over the various coins to be withdrawn. // See also ``TALER_refresh_get_commitment()``. - rc: TALER_RefreshCommitmentP; + rc: HashCode; // Master seed for the Clause-schnorr R-value // creation. Must match the /csr-melt request. @@ -3545,10 +3545,7 @@ the API during normal operation. .. ts:def:: RevealResponse - interface RevealResponse { - // List of the exchange's blinded RSA signatures on the new coins. - ev_sigs : Array<{ ev_sig: BlindedDenominationSignature }>; - } + type RevealResponse = BatchWithdrawResponse; .. ts:def:: RevealConflictResponse diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 2ecb492e..3582e628 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -368,7 +368,7 @@ Making the payment coin_pub: EddsaPublicKey; // Signature made by the denomination public key. - ub_sig: RsaSignature; + ub_sig: UnblindedSignature; // The hash of the denomination public key associated with this coin. h_denom: HashCode; |