设备发放 IOTDP-获取设备CA证书列表:响应参数

时间:2024-07-01 17:25:08

响应参数

状态码: 200

表4 响应Body参数

参数

参数类型

描述

certificates

Array of CertificatesRspDTO objects

证书列表。

数组长度:0 - 1000

page

Page object

查询结果的分页信息。

表5 CertificatesRspDTO

参数

参数类型

描述

certificate_id

String

CA证书ID。

最小长度:0

最大长度:256

cn_name

String

CA证书CN名称。

最小长度:0

最大长度:128

owner

String

Ca证书所有者。

最小长度:0

最大长度:128

status

Boolean

CA证书验证状态。

verify_code

String

CA证书验证码。

最小长度:0

最大长度:256

create_date

String

创建证书日期。

最小长度:0

最大长度:128

effective_date

String

CA证书生效日期

最小长度:0

最大长度:128

expiry_date

String

CA证书失效日期。

最小长度:0

最大长度:128

cert_name

String

CA证书名称。

最小长度:0

最大长度:256

cert_issue

String

CA证书颁发者。

最小长度:0

最大长度:128

update_date

String

CA证书更新日期。

最小长度:0

最大长度:128

expired

Integer

CA证书过期时间:

  • 0:可用;

  • 1:即将过期;

  • 2:已经过期。

最小值:0

最大值:2

cert_hash

String

CA证书指纹。

最小长度:0

最大长度:128

表6 Page

参数

参数类型

描述

count

Long

满足查询条件的记录总数,最大返回1000条记录。

最小值:0

最大值:1000

marker

String

本次分页查询结果中最后一条记录的ID,可在下一次分页查询时使用。

最小长度:0

最大长度:64

support.huaweicloud.com/api-iotps/ListCertificates.html