区块链服务 BCS-企业身份注册(带有service):请求参数
请求参数
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
orgID |
是 |
String |
组织id |
channelID |
是 |
String |
通道id |
cryptoMethod |
是 |
String |
加密方法,目前固定为SW |
cert |
是 |
String |
用户证书,每行末尾均需要增加显式换行符\n |
sk |
是 |
String |
用户私钥,每行末尾均需要增加显式换行符\n |
timestamp |
是 |
String |
时间戳 |
service |
是 |
Array of DIDService objects |
提供的服务 |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
type |
是 |
String |
类型 |
serviceEndpoint |
是 |
String |
接入点 |
credentialApplySchema |
否 |
CredentialApplySchema object |
申请凭证所需数据的Schema |
参数 |
是否必选 |
参数类型 |
描述 |
---|---|---|---|
type |
否 |
String |
类型 |
name |
否 |
String |
名称 |
description |
否 |
String |
描述信息 |
attributes |
否 |
Array of Attribute objects |
属性列表 |