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

[iaik-jce] A little problem about demo programs



I am new to iaikjce2.51.
I tried to run the demo, but always failed.
Here are the exception I got:

Provider 1: SUN  version: 1.2
Provider 2: IAIK  version: 2.5100000000000002
Create new KeyStore in directory: D:\iaikjce2.51\src [y]
KeyStore will be saved to: D:\iaikjce2.51\src\jce.keystore
generate RSA KeyPair for CA certificate [1024 bits]...
generate RSA KeyPair for a test certificate [512 bits]...
generate RSA KeyPair for a test certificate [1024 bits]...
generate RSA KeyPair for a test certificate [2048 bits]...
generate DSA KeyPair for CA certificate [1024 bits]...
generate DSA KeyPair for a test certificate [512 bits]...
generate DSA KeyPair for a server certificate [1024 bits]...
generate DSA KeyPair for a server certificate [2048 bits]...
generate DH KeyPair for a test certificate [512 bits]...
generate DH KeyPair for a server certificate [1024 bits]...
generate DH KeyPair for a server certificate [2048 bits]...
create self signed RSA CA certificate...
Exception: java.lang.StringIndexOutOfBoundsException: String index out
of range: -62 

I did not change any codes, what should I do now ?

Besides, can I create a class 2 certificate by myself ?
I mean, can I use IAIKJCE to build a simple CA server ?
--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-jce