1. 发证方注册中心

用户申请权威机构Claim的时候,需要知道权威机构相关信息,包括权威机构Claim服务的Endpoint之类的,这类信息会由权威机构公布在自己的主页上。

同时,提供Claim Issuer Registry,用来对外发布一些已知的权威机构列表及其相关信息。

此模块目前是中心化部署,所提供的信息都是公布在各个权威机构的主页上的。

功能:

  • 查询Issuer List
  • 录入Issuer
  • 删除Issuer

2. Get Issuer List

举例:

curl -X GET https://did.baidu.com/v1/registry/issuers -H 'X-Request-Id: c318842a-9083-48c8-a8fb-8dc699de607f'

Response:

{
  "code": 0,
  "message": "ok",
  "requestId": "850bb2c5-0541-48bb-b4fc-2eb736d4521b",
  "content": [
    {
      "id": 3,
      "uuid": "407ab47f-1f7e-4a8c-86b0-e5c12dddf87d",
      "did": "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw",
      "website": "https://cloud.baidu.com/solution/digitalIdentity.html",
      "endpoint": "https://did.baidu.com",
      "shortDescription": "百度云企业认证声明",
      "longDescription": "用户的账号在百度云平台需要通过需要提交企业名称、营业执照注册号、营业执照扫描件等才能通过审核获得百度云企业认证。",
      "serviceType": "EnterpriseAuthentication",
      "requestData": {
        "basicData": null,
        "otherData": [
          {
            "name": "CorporationName",
            "type": "text",
            "shortDescription": "企业名称",
            "longDescription": "企业名称"
          },
          {
            "name": "AccountId",
            "type": "text",
            "shortDescription": "百度云账号ID",
            "longDescription": "百度云账号ID"
          },
          {
            "name": "CorporationNum",
            "type": "text",
            "shortDescription": "营业执照注册号",
            "longDescription": "营业执照注册号"
          },
          {
            "name": "AK",
            "type": "text",
            "shortDescription": "百度云AK",
            "longDescription": "百度云Access Key ID"
          },
          {
            "name": "SK",
            "type": "text",
            "shortDescription": "百度云SK",
            "longDescription": "百度云Secret Access Key"
          }
        ]
      },
      "deleted": false,
      "createTime": "2019-10-14T13:33:05+08:00",
      "updateTime": "2019-10-14T13:33:05+08:00"
    },
    {
      "id": 2,
      "uuid": "284ae873-f5c8-4978-bd2d-b779b77333f9",
      "did": "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw",
      "website": "https://cloud.baidu.com/solution/digitalIdentity.html",
      "endpoint": "https://did.baidu.com",
      "shortDescription": "百度云个人高级实名认证声明",
      "longDescription": "高级实名以初级实名为基础,初级实名通过认证后,用户可使用百度智能云APP通过刷脸完成实人核验,核验通过后即为高级实名认证通过。",
      "serviceType": "RealNameAuthentication",
      "requestData": {
        "basicData": [
          "Name"
        ],
        "otherData": [
          {
            "name": "AccountId",
            "type": "text",
            "shortDescription": "百度云账号ID",
            "longDescription": "百度云账号ID"
          },
          {
            "name": "Level",
            "type": "text",
            "shortDescription": "认证等级(初级/高级)",
            "longDescription": "认证等级(初级/高级)"
          },
          {
            "name": "AK",
            "type": "text",
            "shortDescription": "百度云AK",
            "longDescription": "百度云Access Key ID"
          },
          {
            "name": "SK",
            "type": "text",
            "shortDescription": "百度云SK",
            "longDescription": "百度云Secret Access Key"
          }
        ]
      },
      "deleted": false,
      "createTime": "2019-10-14T13:32:02+08:00",
      "updateTime": "2019-10-14T13:32:02+08:00"
    },
    {
      "id": 1,
      "uuid": "d4595e65-d17e-4664-b7b2-4d4fe5df9d43",
      "did": "did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw",
      "website": "https://cloud.baidu.com/solution/digitalIdentity.html",
      "endpoint": "https://did.baidu.com",
      "shortDescription": "百度云个人初级实名认证声明",
      "longDescription": "用户的账号在百度云平台通过姓名、身份证号码、身份证照片进行认证,姓名和身份证号码会后台与公安库进行比对并给出比对结果,再由审核员人工审核确保三者一致。审核通过后即为初级实名认证通过。",
      "serviceType": "RealNameAuthentication",
      "requestData": {
        "basicData": [
          "Name"
        ],
        "otherData": [
          {
            "name": "AccountId",
            "type": "text",
            "shortDescription": "百度云账号ID",
            "longDescription": "百度云账号ID"
          },
          {
            "name": "Level",
            "type": "text",
            "shortDescription": "认证等级(初级/高级)",
            "longDescription": "认证等级(初级/高级)"
          },
          {
            "name": "AK",
            "type": "text",
            "shortDescription": "百度云AK",
            "longDescription": "百度云Access Key ID"
          },
          {
            "name": "SK",
            "type": "text",
            "shortDescription": "百度云SK",
            "longDescription": "百度云Secret Access Key"
          }
        ]
      },
      "deleted": false,
      "createTime": "2019-10-14T13:28:41+08:00",
      "updateTime": "2019-10-14T13:28:41+08:00"
    }
  ]
}