Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2005 11:41:10 +0200
From:      Panagiotis Astithas <past@ebs.gr>
To:        =?ISO-8859-1?Q?Niels_C=F6lle?= <NCoelle@gmx.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK15: Cipher.getInstance throws UnsupportedOperationException
Message-ID:  <436B2CB6.8080205@ebs.gr>
In-Reply-To: <6785.1131096883@www46.gmx.net>
References:  <436B238C.7080703@ebs.gr> <6785.1131096883@www46.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436B2CB6.8080205>