获取我的所有uKey证书列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取我的所有uKey证书列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>` <a href="http://ip:port/service/rest/v1/accountcert/list">http://ip:port/service/rest/v1/accountcert/list</a></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数说明:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">Integer</td>
<td>每页大小</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>1-获取所有证书 2-获取可用证书</td>
</tr>
<tr>
<td style="text-align: left;">accountId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Integer</td>
<td>要查询的用户accountId</td>
</tr>
<tr>
<td style="text-align: left;">accountUid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>用户的accountUid, 登录状态下时默认为当前登录人的accountUid,这种情况可不传值</td>
</tr>
<tr>
<td style="text-align: left;">source</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>请求来源, 例如:’dingding’ , ’esign’ , ’esign_h5’ , ’alipay’</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>- ` http://ip:port/service/rest/v1/accountcert/list?source=esign&amp;type=1&amp;page=1&amp;pageSize=10
</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;success&quot;: true,
&quot;msg&quot;: &quot;成功&quot;,
&quot;total&quot;: null,
&quot;errCode&quot;: 0,
&quot;errShow&quot;: false,
&quot;data&quot;: {
&quot;accountCerts&quot;:[{
&quot;id&quot;:&quot;12133&quot;,
&quot;certName&quot;:&quot;证书名称&quot;,
&quot;issuer&quot;:&quot;ZJCA&quot;,
&quot;endDate&quot;:&quot;152258522631&quot;,
&quot;valid&quot;:&quot;1&quot;,
&quot;sn&quot;:&quot;xxxxxxx&quot;
}]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">Integer</td>
<td>证书Id</td>
</tr>
<tr>
<td style="text-align: left;">certName</td>
<td style="text-align: left;">String</td>
<td>证书名</td>
</tr>
<tr>
<td style="text-align: left;">issuer</td>
<td style="text-align: left;">String</td>
<td>颁发单位</td>
</tr>
<tr>
<td style="text-align: left;">endDate</td>
<td style="text-align: left;">Date</td>
<td>有效期</td>
</tr>
<tr>
<td style="text-align: left;">valid</td>
<td style="text-align: left;">String</td>
<td>状态, 1-有效 0-无效</td>
</tr>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">int</td>
<td>证书序列号</td>
</tr>
</tbody>
</table>