尝试创建新证书时出现以下异常:
java.security.cert.CertificateParsingException:签名溢出,字节 = 224
try
{
InputStream certificateStream = new ByteArrayInputStream(certificate);
CertificateFactory cf = CertificateFactory.getInstance("X.509");
Collection certificateCollection = cf.generateCertificates(certificateStream);
}
catch (CertificateException ex)
{
}
抛出异常: Collection certificateCollection = cf.generateCertificates(certificateStream);
有人可以帮我理解和解决这个问题吗?
谢谢