14.2.1.2 DID Document上链

接口地址 /did/putDoc
接口描述 对DID Document进行上链存储,内部先执行了验证动作,所以如果想对DID Document上链那么直接调用本接口。
接口请求参数
序号 参数 类型 必传 参数含义
1 DidDocSotreReq 包装类
DidDocSotreReq
1 didDoc Document DID Document
Document
1 did String DID标识符
2 version String 版本
3 created String 创建时间
4 updated String 更新时间
5 authentication PublicKey 主公钥
6 recovery PublicKey 备公钥
7 proof Proof 签名信息
PublicKey
1 publicKey String 公钥信息
2 type String 算法类型
Proof
1 creator String 参与计算签名值的DID
2 type String 算法类型
3 signatureValue String 签名值
接口响应参数
序号 参数 类型 参数含义
1 Boolean 成功返回true,失败返回false
Copyright 北京红枣科技有限公司

results matching ""

    No results matching ""

    results matching ""

      No results matching ""