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

RE: [iaik-jce] Importing a Certificate exported from Netscape V4.7 or Outlook 2000

Hi !

Of course I have ;-)

the order of the java libraries within the classpath seems to be the
reason why it didn't work.
When "iaik_jce.jar" is at the first position within the classpath it
seems to work.

Is there any explanation for this behavior ?



have you added the IAIK provider?

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 Hiltenkamp, Andreas
Gesendet: Freitag, 6. Oktober 2000 17:48
An: 'iaik-jce@iaik.at'
Betreff: [iaik-jce] Importing a Certificate exported from Netscape V4.7 or
Outlook 2000

I've got problems to import an Certificate exported from Netscape 4.7,
Netscape 6 PR2
or from Outlook 2000. Exception message is "unable to decrypt private key" ?

I'm using JDK 1.3 under NT 4 SP6 and IAIK JCE 2.6

What I'm doing wrong ?
I'm using PKCS12(Inputstream in ) for reading the exported Certificate

Code looks like:
   System.out.println("trying to get PKCS12 Object from Inputstream");
PKCS12 pkcs12 = new PKCS12(in);   System.out.println(pkcs12.toString() );
System.out.println("PKCS12 Object read sucess");   CertificateBag[] cfbs;
int i;
   // try to decrypt the PKCS Structure   pkcs12.decrypt(password_);
Mailinglist-archive at

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