14.2.1.5 更新密钥

接口地址 /did/resetDidAuth
接口描述 通过备用公私钥信息重新生成一对主公私钥信息的动作由DID SDK完成。该接口接收用户新的DID Document内容作链上更新。
接口请求参数
序号 参数 类型 必传 参数含义
1 RestDocAuth 包装类
RestDocAuth
1 didDoc Document DID Document
2 authPubKeySign String 备私钥对备公钥进行k1签名
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 KeyInfo 新的主公钥信息
KeyInfo
1 publicKey String 公钥信息
2 type String 算法类型
Copyright 北京红枣科技有限公司

results matching ""

    No results matching ""

    results matching ""

      No results matching ""