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

AW: [iaik-jce] SetupSMimeKeyStore problem



Maybe you are using another implementation of the JCE interface (from DSTC
?) causing problems?

Dieter Bratko

-----Ursprüngliche Nachricht-----
Von: iaik-jce-owner@iaik.tu-graz.ac.at
[mailto:iaik-jce-owner@iaik.tu-graz.ac.at]Im Auftrag von Ricky Wong
Gesendet: Mittwoch, 20. September 2000 13:47
An: 'iaik-jce@iaik.tu-graz.ac.at'
Betreff: RE: [iaik-jce] SetupSMimeKeyStore problem


I've tried the SetupKeyStore program included in IAIK JCE 2.6 and found
exactly the same problem as below.

> -----Original Message-----
> From: Ricky Wong [mailto:RickyWong@dahsing.com]
> Sent: Monday, September 18, 2000 17:50
> To: 'iaik-jce@iaik.tu-graz.ac.at'
> Subject: [iaik-jce] SetupSMimeKeyStore problem
>
>
> I'm currently evaluating IAIK-JCE 2.6 with IAIK S/MIME 2.6.
> When I tried to
> run the SetupSMimeKeyStore class in IAIK S/MIME 2.6, I encountered the
> following error :
>
> adding Provider IAIK...
>
>
> Java version number: 1.2
>
> Java compiler: symcjit
>
> Java vendor-specific string: Sun Microsystems Inc.
>
> Java vendor URL: http://java.sun.com/
>
> Java installation directory: D:\jdk1.2.2\jre
>
> Java class format version number: 46.0
>
> Java class path:
> D:\IAIK-JCE2.6ev\lib\iaik_jce_full.jar;D:\IAIK-SMIME2.6ev\lib\
> iaik_smime.jar
> ;D:\j2sdkee1.2.1\lib\j2ee.jar;D:\bankcert\classes;.;d:\Kawa4.0
> 1\kawaclasses.
> zip;d:\jdk1.2.2\lib\tools.jar;d:\jdk1.2.2\jre\lib\rt.jar;d:\jd
> k1.2.2\jre\lib
> \i18n.jar
>
> Operating system name: Windows NT
>
> Operating system architecture: x86
>
> Operating system version: 4.0
>
>
>
> Installed security providers providers:
>
>
> Provider 1: IAIK  version: 2.6
>
> Provider 2: SUN  version: 1.2
>
> Provider 3: DSTC  version: 0.99
>
> Create new KeyStore in directory: D:\bankcert [y]y
> KeyStore will be saved to: D:\bankcert\smime.keystore
>
> generate RSA KeyPair for CA certificate [1024 bits]...
>
> Generate signing keys...
>
> 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 encryption keys...
>
> generate RSA KeyPair for a test certificate [512 bits]...
>
> generate RSA KeyPair for a test certificate [1024 bits]...
>
> generate second RSA KeyPair for a test certificate [1024 bits]...
>
> generate RSA KeyPair for a test certificate [2048 bits]...
>
> create self signed RSA CA certificate...
>
> Exception: java.lang.RuntimeException: Error creating the certificate:
> InitSign error: java.security.NoSuchAlgorithmException:
> RSA/ECB/PKCS1Padding
> not found
>
> iaik.utils.InternalErrorException: Could not instantiate
> PKCS5-PBKDF2-algorithm from provider IAIK.
>
> 	at iaik.security.keystore.IAIKKeyStore.a(Compiled Code)
>
> 	at
> iaik.security.keystore.IAIKKeyStore.engineStore(Compiled Code)
>
> 	at java.security.KeyStore.store(KeyStore.java:580)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.saveKeyStore(SetupSMime
> KeyStore.java:
> 242)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.start(SetupSMimeKeyStor
> e.java:472)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.main(SetupSMimeKeyStore
> .java:481)
>
> Error saving KeyStore!
>
> java.lang.NullPointerException
>
> 	at iaik.security.keystore.IAIKKeyStore.a(Compiled Code)
>
> 	at
> iaik.security.keystore.IAIKKeyStore.engineStore(Compiled Code)
>
> 	at java.security.KeyStore.store(KeyStore.java:580)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.saveKeyStore(SetupSMime
> KeyStore.java:
> 242)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.start(SetupSMimeKeyStor
> e.java:472)
>
> 	at
> demo.smime.keystore.SetupSMimeKeyStore.main(SetupSMimeKeyStore
> .java:481)
>
> >From the attached error messages, I've pretty sure that I've the RSA
> implementation on my classpath. In fact, I've also tried the libraries
> iak_jce.jar, rsa_rc4.jar and idea.jar, same error will happen.
>
> Any idea on how to fix the problem so that I can continue to
> evaluate the
> software ?
>
> --
> Mailinglist-archive at
> http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html
>
> To unsubscribe send an email to listserv@iaik.at with the
> folowing content: UNSUBSCRIBE iaik-jce
>
>
--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

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




smime.p7s