AsySignature

<p class="shortdesc"></p> <section class="section" id="AsySignature__section_zcq_sfj_mlb"><h2 class="doc-tairway">非对称密钥签名: AsySignature </h2> <p class="p"><strong class="ph b">Description</strong></p> <p class="p">Using a specified asymmetric key for signing. </p> <p class="p"><strong class="ph b">Request Parameters</strong></p> <table class="table" id="AsySignature__table_j2h_tfj_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__1"> <p class="p">Name </p> </th> <th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__2"> <p class="p">Type </p> </th> <th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__3"> <p class="p">Necessary or Not </p> </th> <th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__4"> <p class="p">Description </p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__1 "> <p class="p">requestTime </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__3 "> <p class="p">Yes </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 "> <p class="p">Request time in the format of yyyyMMddhhmmssSSS. </p> </td> </tr> <tr class="row"> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__1 "> <p class="p">appId </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__3 "> <p class="p">Yes </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 "> <p class="p">Unique identifier of the asymmetric private key, which is automatically assigned by KMS when the private key was created. </p> </td> </tr> <tr class="row"> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__1 "> <p class="p">data </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__3 "> <p class="p">Yes </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 "> <p class="p">Data to be signed (hexadecimal string). </p> </td> </tr> <tr class="row"> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__1 "> <p class="p">sign </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__3 "> <p class="p">Yes </p> </td> <td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 "> <p class="p">Parameter for signature verification (hexadecimal string) (non-public parameter, i.e. signature, for KMS system verification). For more information, see Signature Rules. </p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Return Parameters</strong></p> <table class="table" id="AsySignature__table_k2h_tfj_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="AsySignature__table_k2h_tfj_mlb__entry__1"> <p class="p">Name </p> </th> <th class="entry" id="AsySignature__table_k2h_tfj_mlb__entry__2"> <p class="p">Type </p> </th> <th class="entry" id="AsySignature__table_k2h_tfj_mlb__entry__3"> <p class="p">Description </p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__1 "> <p class="p">Code </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__3 "> <p class="p">Return code. “SUCCESS” will be returned if the request is succeeded. </p> </td> </tr> <tr class="row"> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__1 "> <p class="p">Signature </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__3 "> <p class="p">Signature value of the data after signing with the private key. </p> </td> </tr> <tr class="row"> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__1 "> <p class="p">requestId </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="AsySignature__table_k2h_tfj_mlb__entry__3 "> <p class="p">ID of the request. </p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Request Example</strong></p> <pre class="pre codeblock"><code>http:// kms-cn-shanghai.yun.pingan.com/?action= AsySignature &appId =<app id > &sign=<sign> &requestTime=<requestTime> &data =<data > &<公共请求参数> </code></pre> <p class="p"><strong class="ph b">Return Example</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "signature": "signature", "requestId": "7d5e94eb-75b6-45fc-a974-30d21296f48b" } </code></pre> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products