jdk/src/share/classes/sun/security/pkcs11/SunPKCS11.java
changeset 8578 f5d3509ad92b
parent 8542 62c7b10ce177
child 10701 2c8dde454979
--- 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));