4. getWeIDDocment

    接口入参: String

    接口返回: com.webank.weid.protocol.response.ResponseData<WeIdDocument>;

    名称类型说明备注
    errorCodeInteger返回结果码
    errorMessageString返回结果描述
    resultWeIdDocument 见下
    transactionInfoTransactionInfo交易信息

    com.webank.weid.protocol.base.WeIdDocument

    名称类型说明备注
    idStringWeIdentity DID
    createdLong创建时间
    updatedLong更新时间
    publicKeyList 列出公钥集合,见下
    authenticationList 认证方集合,见下
    serviceList 服务端点集合,见下

    com.webank.weid.protocol.base.PublicKeyProperty

    名称类型说明备注
    typeString类型默认为:Secp256k1
    publicKeyString

    com.webank.weid.protocol.base.ServiceProperty

    此方法返回code

    enumcodedesc
    SUCCESS0成功
    WEID_INVALID100101无效的WeIdentity DID
    WEID_DOES_NOT_EXIST100104WeIdentity DID不存在
    TRANSACTION_TIMEOUT160001超时
    TRANSACTION_EXECUTE_ERROR160002交易错误
    UNKNOW_ERROR160003其他错误