JDK15: Cipher.getInstance throws UnsupportedOperationException
Panagiotis Astithas
past at ebs.gr
Fri Nov 4 01:42:01 PST 2005
Niels Cölle wrote:
> 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]
Could you post a small example program that demonstrates the issue? That
would help a lot, I think.
Cheers,
Panagiotis
More information about the freebsd-java
mailing list