[9] RFR 8078661: [SunPKCS11] Fails to cast into RSAPrivateCrtKey after RSA KeyPair Generation
Valerie Peng
valerie.peng at oracle.com
Wed Aug 17 01:24:26 UTC 2016
Anyone has time to review a straightforward fix? The current PKCS11 code
assume that if public exponent is available for RSA Private Key, then
it's a RSA CRT key. However, not all vendor implementation works this
way. Changing to a tighter check and did minor code-refactoring to avoid
re-retrieving the attribute values.
Bug: https://bugs.openjdk.java.net/browse/JDK-8078661
Webrev: http://cr.openjdk.java.net/~valeriep/8078661/webrev.00/
Thanks,
Valerie
More information about the security-dev
mailing list