diff -r a5d07d83b4b1 -r f5d3509ad92b jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java --- a/jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java Mon Mar 07 11:36:37 2011 -0800 +++ b/jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java Mon Mar 07 14:14:37 2011 -0800 @@ -627,8 +627,10 @@ m(CKM_BLOWFISH_CBC)); // XXX RSA_X_509, RSA_OAEP not yet supported - d(CIP, "RSA/ECB/PKCS1Padding", P11RSACipher, + d(CIP, "RSA/ECB/PKCS1Padding", P11RSACipher, s("RSA"), m(CKM_RSA_PKCS)); + d(CIP, "RSA/ECB/NoPadding", P11RSACipher, + m(CKM_RSA_X_509)); d(SIG, "RawDSA", P11Signature, s("NONEwithDSA"), m(CKM_DSA));