[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] Bulding the SSL Light package.



I would like to use the SSL Light package and want to evaluate
the demo program.  When I try to compile the source, or, run the compiled
class supplied, I get errors.
I am having some problems getting ExtractKeys to work. I want to use the
SSLLight applet libraries.
I downloaded and installed the evaluation libraries on my d: drive in the
default directories, and am using the Cygwin environment.
My JDK is 1.3.1.
Here are my results when I try to run the precompiled class, and also when I
compile.

I ran the script as bash -x and capture stdout and stderr together: (the
else part was taken, see below)

if [ "$@" ]
then
java -classpath
'D:/Java/IAIK-JCE2.61eval/lib/iaik_jce.jar;D:/Java/IAIK-JCE2.61eval/lib/jdk1
1x_update.jar;D:/Java/iSaSiLk3.03eval/lib/iaik_ssl.jar;D:/Java/iSaSiLk3.03ev
al/lib/w3c_http.jar;D:/Java/iSaSiLkLight/tools' ExtractKeys
PublicKeyStore.java "$@"
else
java -classpath
'D:/Java/IAIK-JCE2.61eval/lib/iaik_jce.jar;D:/Java/IAIK-JCE2.61eval/lib/jdk1
1x_update.jar;D:/Java/iSaSiLk3.03eval/lib/iaik_ssl.jar;D:/Java/iSaSiLk3.03ev
al/lib/w3c_http.jar;D:/Java/iSaSiLkLight/tools' ExtractKeys
PublicKeyStore.java -host:jcewww.iaik.tu.graz.ac.at -rsa
fi

#java -classpath 'D:/alliaik;D:/Java/iSaSiLkLight/tools' ExtractKeys
PublicKeyStore.java -host:jcewww.iaik.tu.graz.ac.at -rsa

OUTPUT:

+ '[' ']'
+ java -classpath
'D:/Java/IAIK-JCE2.61eval/lib/iaik_jce.jar;D:/Java/IAIK-JCE2.61eval/lib/jdk1
1x_update.jar;D:/Java/iSaSiLk3.03eval/lib/iaik_ssl.jar;D:/Java/iSaSiLk3.03ev
al/lib/w3c_http.jar;D:/Java/iSaSiLkLight/tools' ExtractKeys
PublicKeyStore.java -host:jcewww.iaik.tu.graz.ac.at -rsa
Adding provider IAIK...
***
***
***                    Welcome to the IAIK JCE Library
***
***
***
*** This version of IAIK JCE is licensed for educational and research use
***
*** and evaluation only. Commercial use of this software is prohibited.
***
*** For details please see http://jcewww.iaik.at/legal/license.htm .
***
*** This message does not appear in the registered commercial version.
***
***
***

Downloading RSA certificate...
***                                                                      ***
***             Welcome to the IAIK SSL (iSaSiLk) Library                ***
***                                                                      ***
*** This version of iSaSiLk is licensed for educational and research use ***
*** and evaluation only. Commercial use of this software is prohibited.  ***
*** For details please see http://jcewww.iaik.at/legal/license.htm .     ***
*** This message does not appear in the registered commercial version.   ***
***                                                                      ***

java.lang.NoSuchMethodError
 at ExtractKeys.downloadCertificate(ExtractKeys.java:145)
 at ExtractKeys.main(ExtractKeys.java:283)
Exception in thread "main"


And then I tried to compile:

I ran the script as bash -x and caputre stdout and stderr together:

if [ "$@" ]
then
javac -classpath 'D:/alliaik' D:/Java/iSaSiLkLight/tools/ExtractKeys.java
else
javac -classpath
'D:/Java/IAIK-JCE2.61eval/lib/iaik_jce.jar;D:/Java/IAIK-JCE2.61eval/lib/jdk1
1x_update.jar;D:/Java/iSaSiLk3.03eval/lib/iaik_ssl.jar;D:/Java/iSaSiLk3.03ev
al/lib/w3c_http.jar' D:/Java/iSaSiLkLight/tools/ExtractKeys.java
fi


OUTPUT:

+ '[' ']'
+ javac -classpath
'D:/Java/IAIK-JCE2.61eval/lib/iaik_jce.jar;D:/Java/IAIK-JCE2.61eval/lib/jdk1
1x_update.jar;D:/Java/iSaSiLk3.03eval/lib/iaik_ssl.jar;D:/Java/iSaSiLk3.03ev
al/lib/w3c_http.jar' D:/Java/iSaSiLkLight/tools/ExtractKeys.java
D:/Java/iSaSiLkLight/tools/ExtractKeys.java:145: cannot resolve symbol
symbol  : method enable  (boolean)
location: class iaik.security.ssl.DefaultSessionManager
    ((DefaultSessionManager)context.getSessionManager()).enable(false); //
no session caching
    ^
D:/Java/iSaSiLkLight/tools/ExtractKeys.java:189: cannot resolve symbol
symbol  : class RSAPublicKey
location: class ExtractKeys
      RSAPublicKey key = (RSAPublicKey)cert.getPublicKey();
      ^
D:/Java/iSaSiLkLight/tools/ExtractKeys.java:189: cannot resolve symbol
symbol  : class RSAPublicKey
location: class ExtractKeys
      RSAPublicKey key = (RSAPublicKey)cert.getPublicKey();
                          ^
Note: D:/Java/iSaSiLkLight/tools/ExtractKeys.java uses or overrides a
deprecated API.
Note: Recompile with -deprecation for details.
3 errors

It appears that certain classes are missing or the interface has changed.
I would appreciate any help.

Thanks,
Steve


--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl