I'm getting a really odd error when I try to init a ciphers (or any other artifact for that matter) using BC as the provider in tomcat 5.5.7 (struts application).
The call is simply
final Cipher rsaCipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", "BC");
The bouncy castle libraries are included in the classpath, and are being initialized correctly in the servlet init with the call:
Security.addProvider( new BouncyCastleProvider());
JVM Details: java version "1.5.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63) Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode)
uname -r: 2.6.8-gentoo-r10
Anyone have any ideas?
Cheers Adam
--------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)