区块链服务 BCS-企业身份注册(带有service):请求示例

时间:2023-11-01 16:25:45

请求示例

{  "orgID" : "4f1439758ebb41f7411b5f684b67713c08b89198",  "channelID" : "mychannel",  "cryptoMethod" : "SW",  "cert" : "-----BEGIN CERTIFICATE-----\n...\n...\n-----END CERTIFICATE-----",  "sk" : "------BEGIN PRIVATE KEY-----\n...\n...\n-----END PRIVATE KEY-----",  "timestamp" : "2020-10-27T17:28:16+08:00",  "service" : [ {    "type" : "VerifiableCredentialService",    "serviceEndpoint" : "https://example.com/vc/",    "credentialApplySchema" : {      "type" : "file",      "name" : "Test Enterprise Certification",      "description" : "this is test apply info",      "attributes" : [ {        "name" : "bob",        "type" : "string",        "description" : "Attribute's description"      } ]    }  } ]}
support.huaweicloud.com/devg-bcs/RegisterDIDWithService.html