区块链服务 BCS-申请ABE用户密钥:请求示例

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

请求示例

{
  "orgID": "ce0ac69b0c8648cd25b44a551780409767c8890b",
  "channelID": "mychannel",
  "cryptoMethod": "SW",
  "cert": "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----",
  "sk": "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----",
  "timestamp": “2020-10-27T17:28:16+08:00”,
  "applyer": "did:example:Mb4SshJeN5ukWXkbMJK8xC",
  "provider": "did:example:Mb4SshJeN5ukWXkbMJK8xC",
  "attrJson": "[{\"name\":\"att1\",\"type\":\"plain\",\"value\":\"att1name\"},{\"name\":\"att2\",\"type\":\"plain\",\"value\":\"att2name\"},{\"name\":\"att3\",\"type\":\"plain\",\"value\":\"5\"}]"
}
support.huaweicloud.com/devg-bcs/ApplyABEUserKey_1.html