区块链服务 BCS-发布可验证凭证的模板:请求参数

时间:2024-07-01 09:12:15

请求参数

表1 请求Body参数

参数

是否必选

参数类型

描述

orgID

String

组织id

channelID

String

通道id

cryptoMethod

String

加密方法,目前固定为SW

cert

String

用户证书,每行末尾均需要增加显式换行符\n

sk

String

用户私钥,每行末尾均需要增加显式换行符\n

timestamp

String

时间戳

title

String

名称

identifier

String

标识

attributes

Array of Attribute objects

属性信息

issuer

String

签发者身份标识

表2 Attribute

参数

是否必选

参数类型

描述

name

String

名称

type

String

类型

description

String

描述信息

support.huaweicloud.com/devg-bcs/PublishCredentialSchema_0.html