Could not parse certificate: java.io.IOException: Empty input X509Certificate

前端 未结 3 849
渐次进展
渐次进展 2021-02-02 11:26

I am getting the error given below when parsing the signature. Anybody has idea why the error is showing?

Note that:

  1. Using the same certificate I signe

3条回答
  •  长情又很酷
    2021-02-02 11:54

    It's been a while since this post but I came here looking for this issue. In my case, the key was that the certificate was in a Base64-String.getBytes[] instead of a DECODED-Base64-String.getBytes[].

    Hope it helps someone :)

提交回复
热议问题