验证签名时Cms异常

时间:2015-10-16 05:02:24

标签: bouncycastle verifyerror

我正在尝试使用bouncycastle来生成和验证签名。使用的代码是

Correct way to sign and verify signature using bouncycastle

但是我得到了例外

Org.bouncycastle.cms.CMSException.IOException reading content
Java.io.IOException : DER length more than 4 bytes.

有人可以帮忙解决此异常吗?

0 个答案:

没有答案
相关问题