Please review this fix to improve the error handling for attempts to store a 
Certificate object in PKCS12 keystore.
The PKCS12 keystore implementation supports storing only X509Certificate 
objects but the KeyStore API allows Certificate objects.
This fix rejects attempts to store non-X.509 certificates and throws a 
KeyStoreException.

Thanks.

Bug: https://bugs.openjdk.java.net/browse/JDK-8163503
Webrev: http://cr.openjdk.java.net/~vinnie/8163503/webrev.00/


Reply via email to