From owner-freebsd-java@FreeBSD.ORG Fri Nov 4 09:42:01 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B88E16A428 for ; Fri, 4 Nov 2005 09:42:01 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12EEE43D4C for ; Fri, 4 Nov 2005 09:41:59 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id jA49fv9V011316; Fri, 4 Nov 2005 11:41:57 +0200 (EET) (envelope-from past@ebs.gr) Received: from [10.1.1.158] (pc158.ebs.gr [10.1.1.158]) by ebs.gr (8.13.3/8.12.11) with ESMTP id jA49gDbs058520; Fri, 4 Nov 2005 11:42:13 +0200 (EET) (envelope-from past@ebs.gr) Message-ID: <436B2CB6.8080205@ebs.gr> Date: Fri, 04 Nov 2005 11:41:10 +0200 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051008) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Niels_C=F6lle?= References: <436B238C.7080703@ebs.gr> <6785.1131096883@www46.gmx.net> In-Reply-To: <6785.1131096883@www46.gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-java@freebsd.org Subject: Re: JDK15: Cipher.getInstance throws UnsupportedOperationException X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 09:42:01 -0000 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