changed IOException to TlsCryptoException to deal with older JDKs.
@@ -290,7 +290,7 @@ protected void validateKeyUsage(int keyUsageBits)
}
catch (CertificateEncodingException e)
{
- throw new IOException("unable to parse certificate extensions: " + e.getMessage(), e);
+ throw new TlsCryptoException("unable to parse certificate extensions: " + e.getMessage(), e);
}
if (exts != null)
