JDK15: Cipher.getInstance throws UnsupportedOperationException

"Niels Cölle" NCoelle at gmx.de
Fri Nov 4 01:34:45 PST 2005


Hello Panagiotis,

> Have you replaced the installed cacerts file with the one from a working 
> Sun JDK (say Linux)? You can find the installed file in 
> /usr/local/jdk1.5.0/jre/lib/security/cacerts.

Yes, but it did not resolve the problem.

May be it is a problem with name of the algorithm:
I do
Cipher mAesCipher = Cipher.getInstance(AES_ALGORITHM);

where AES_ALGORITHM is:
public static final String AES_ALGORITHM = "AES/CBC/NoPadding";

Security.getProviders gets
[IAIK, SUN version 1.5, SunRsaSign version 1.5, SunJSSE version 1.5, SunJCE
version 1.5, SunJGSS version 1.0, SunSASL version 1.5]

cu
Niels


More information about the freebsd-java mailing list