区块链服务 BCS-授权ABE用户密钥:请求参数

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

请求参数

表1 请求Body参数

参数

是否必选

参数类型

描述

orgID

String

组织id

channelID

String

通道id

cryptoMethod

String

加密方法,目前固定为SW

cert

String

证书

sk

String

私钥

timestamp

String

时间戳

applyer

String

申请者的身份标识

provider

String

授权者的身份标识

attrJson

Array of attribute objects

属性列表

表2 attribute

参数

是否必选

参数类型

描述

name

String

属性名

type

String

属性类型(plain,comparable)

value

String

属性值(当type为plain时,value为属性值。当type为comparable时,value必须是整数。)

maxValue

String

属性值上限,value可能取到的最大值。只在type为comparable时可选使用

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