taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit da26b0586fcace146643c4fb7290697e714f2ffa
parent 28bdc689abcf2c16d94e50905a43c737ef1c99e2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 30 Jun 2015 21:27:59 +0200

fix RSA blind signing test API design

Diffstat:
Mapi-mint.rst | 16++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/api-mint.rst b/api-mint.rst @@ -634,16 +634,24 @@ binary-compatible with the implementation of the mint. :>json base32 eddsa_pub: Another EdDSA public key :>json base32 eddsa_sig: EdDSA signature using purpose TALER_SIGNATURE_MINT_TEST_EDDSA -.. http:POST:: /test/rsa +.. http:GET:: /test/rsa/get - Test RSA. + Obtain the RSA public key used for signing in /test/rsa/sign. + + :status 200: operation was successful + :resheader Content-Type: application/json + :>json base32 rsa_pub: The RSA public key the client should use when blinding a value for the /test/rsa/sign API. + +.. http:POST:: /test/rsa/sign + + Test RSA blind signatures. :reqheader Content-Type: application/json :<json base32 blind_ev: Blinded value to sign. :status 200: operation was successful :resheader Content-Type: application/json - :>json base32 rsa_pub: Some RSA public key - :>json base32 rsa_blind_sig: Blind RSA signature over the `blind_ev` using the private key corresponding to `rsa_pub` + :>json base32 rsa_blind_sig: Blind RSA signature over the `blind_ev` using the private key corresponding to the RSA public key returned by /test/rsa/get. + .. http:POST:: /test/transfer