3. verifyCredentialWithSpecifiedPubKey
接口入参:
com.webank.weid.protocol.base.CredentialWrapper
名称 | 类型 | 非空 | 说明 | 备注 |
---|---|---|---|---|
credential | Credential | Y | 凭证信息 | 具体见下 |
disclosure | Map<String, Object> | N | 披露属性 | 默认为全披露 |
com.webank.weid.protocol.base.WeIdPublicKey
名称 | 类型 | 说明 | 备注 |
---|---|---|---|
publicKey | String | 数字公钥 | 使用十进制数字表示 |
接口返回: com.webank.weid.protocol.response.ResponseData<Boolean>;
名称 | 类型 | 说明 | 备注 |
---|---|---|---|
blockNumber | BigInteger | 交易块高 | |
transactionHash | String | 交易hash | |
transactionIndex | BigInteger | 交易索引 |
此方法返回code
调用示例