You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nisha Menon <ni...@wipro.com> on 2003/05/06 14:59:13 UTC

trying the samples/security example

hi all,
am trying to run the samples/security example in axis 1.0 and i've been trying to follow the readme step by step
when trying to compile the files however, it says
 
C:\xml-axis-10\samples\security>javac *.java
SignedSOAPEnvelope.java:150: cannot access javax.crypto.SecretKey
file javax\crypto\SecretKey.class not found
            sig.sign(privateKey);
               ^
1 error
 
i gather this is because i don't have "jce-jdk13-113.jar" in my classpath?
if this is so, would anyone know where i can get this jar file from? readme sez i can get this from www.bouncycastle.org
but i can't seem to locate it.... could someone maybe offer to send me this jar file pleez?
ofcourse it's assuming this is the reason for my error :-(
 
thanks!
nisha

Re: trying the samples/security example

Posted by Akhil Gupta <ag...@eircom.net>.
Hi Nishan

What happens is JCE is provided as an API by Sun. It is an optional package
till JDK1.3 and made
core package in JDK1.4.

So if you are using JDK1.4 you should already have class
javax.crypto.SecretKey

and if you are using JDK1.3 you can download the JCE extension from sun web
site.
http://java.sun.com/products/jce/


Bouncy Castle is just another implementation of JCE API and the web site to
download is:-
http://www.bouncycastle.org/latest_releases.html
and  jce-jdk13-118.tar.gz is just the future version of jce-jdk13-113.tar.gz
so does not matter if you
downlod version 1.18.

----- Original Message -----
From: "Nisha Menon" <ni...@wipro.com>
To: <ax...@ws.apache.org>
Sent: Tuesday, May 06, 2003 1:59 PM
Subject: trying the samples/security example


**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.

***************************************************************************