Are there packages for RHEL and distros based on it (CentOS, Scientific Linux, etc.) that contain the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files so that higher levels of encryption can be supported in Java? I know that you can currently download these files from Oracle, but it would be nice if there was a package for them for Java 6/7.
Asked
Active
Viewed 3,149 times
2
-
http://stackoverflow.com/questions/2927952/why-do-people-use-bouncycastle-instead-of-java-cryptography-extension-what-is-t – quanta Oct 16 '11 at 10:17
1 Answers
2
You can use Bouncy Castle instead:
Name : bouncycastle
Arch : noarch
Version : 1.46
Release : 1.el6
Size : 2.3 M
Repo : epel
Summary : Bouncy Castle Crypto Package for Java
URL : http://www.bouncycastle.org/
License : MIT
Description: The Bouncy Castle Crypto package is a Java implementation of cryptographic
: algorithms. The package is organised so that it contains a light-weight API
: suitable for use in any environment (including the newly released J2ME) with
: the additional infrastructure to conform the algorithms to the JCE framework.

quanta
- 51,413
- 19
- 159
- 217
-
1Thanks! That works if you use the Bouncy Castle API, but according to the Bouncy Castle site, if you are trying to use Bouncy Castle as the JCE security provider, "with JDK 1.4 and later you will need to have installed the unrestricted policy files to take full advantage of the provider. If you do not install the policy files you are likely to get something like the following: java.lang.SecurityException: Unsupported keysize or algorithm parameters at javax.crypto.Cipher.init(DashoA6275)". – Gary S. Weaver Oct 17 '11 at 15:59
-