FYI, if i drop bc-jce-jdk13-124.jar into jre\lib\endorsed it works fine....So it's probably a bug in the javax.crypto / local_policy.jar / US_export_policy.jar
-- dims On Mon, 12 Jul 2004 12:27:00 -0400, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > FYI, "JDK 1.3.1_11" works fine "JDK 1.5.0-beta2" works fine BUT > 1.4.2_05 has 8 failures (Yes, with the strong crypto stuff) 4 in > BaltimoreEncTest and 4 in XMLCipherTester. Tested with older versions > of BC providers as well with same effect. (So i suspect that the > problem is not in the version of BC provider.). Note that JDK1.4.2_04 > worked fine. > > -- dims > > ------------------------------------------------------------------------------------------------------------------------------- > Unsupported keysize or algorithm parameters > > java.lang.SecurityException: Unsupported keysize or algorithm > parameters at javax.crypto.Cipher.init(DashoA6275) at > org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1476) > at org.apache.xml.security.encryption.XMLCipher.decryptElement(XMLCipher.java:1334) > at org.apache.xml.security.encryption.XMLCipher.doFinal(XMLCipher.java:808) > at > org.apache.xml.security.test.encryption.BaltimoreEncTest.decryptElement(BaltimoreEncTest.java:514) > at > org.apache.xml.security.test.encryption.BaltimoreEncTest.test_five_content_aes256_cbc(BaltimoreEncTest.java:289) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > ------------------------------------------------------------------------------------------------------------------------------- > > -- > Davanum Srinivas - http://webservices.apache.org/~dims/ > -- Davanum Srinivas - http://webservices.apache.org/~dims/