非对称密钥签名
<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">描述</strong></p>
<p class="p">利用指定非对称密钥进行签名运算。</p>
<p class="p"><strong class="ph b">请求参数</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">名称</p>
</th>
<th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__2">
<p class="p">类型</p>
</th>
<th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__3">
<p class="p">是否必须</p>
</th>
<th class="entry" id="AsySignature__table_j2h_tfj_mlb__entry__4">
<p class="p">描述</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">是</p>
</td>
<td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 ">
<p class="p">请求时间,格式为: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">是</p>
</td>
<td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 ">
<p class="p">非对称密钥对应的唯一识别码,由KMS创建非对称密钥时自动分配产生</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">是</p>
</td>
<td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 ">
<p class="p">待签名数据(16进制字符串)</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">是</p>
</td>
<td class="entry" headers="AsySignature__table_j2h_tfj_mlb__entry__4 ">
<p class="p">接口验签参数(16进制字符串)(KMS系统校验,非公共参数signature),见签名规则</p>
</td>
</tr>
</tbody></table>
<p class="p"><strong class="ph b">返回参数</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">名称</p>
</th>
<th class="entry" id="AsySignature__table_k2h_tfj_mlb__entry__2">
<p class="p">类型</p>
</th>
<th class="entry" id="AsySignature__table_k2h_tfj_mlb__entry__3">
<p class="p">描述</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">返回码,成功返回“SUCCESS”</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">对请求签名数据进行私钥签名运算后的签名值</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">请求唯一标识符</p>
</td>
</tr>
</tbody></table>
<p class="p"><strong class="ph b">请求示例</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">返回示例</strong></p>
<pre class="pre codeblock"><code>{
"code": "SUCCESS",
"signature": "signature",
"requestId": "7d5e94eb-75b6-45fc-a974-30d21296f48b"
}</code></pre>
</section>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!