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

[iaik-ssl] Unable to decode private key



Hello, I am trying to do the following:

KeyAndCertificate key_and_cert = new
KeyAndCertificate("/tmp/x509up_u995");

PrivateKey my_key = key_and_cert.getPrivateKey

I get the following output:
/sandbox/jdk1.2/bin/java -classpath
.:./lib/jndi.jar:./lib/providerutil.jar:./lib/ldap.jar:/sandbox/jdk1.2/jre/lib/rt.jar:.:/homes/rehn/iaik_jce_full.jar:/homes/rehn/iSaSiLk2.51/lib/iaik_ssl.jar:/homes/rehn/iSaSiLk2.51/src
https_test pitcairn.mcs.anl.gov 1924
adding Provider IAIK...

Java version number: 1.2
Java compiler: sunwjit
Java vendor-specific string: Sun Microsystems Inc.
Java vendor URL: http://java.sun.com/
Java installation directory: /disks/sandbox/jdk1.2/jre
Java class format version number: 46.0
Java class path:
.:./lib/jndi.jar:./lib/providerutil.jar:./lib/ldap.jar:/sandbox/jdk1.2/jre/lib/rt.jar:.:/homes/rehn/iaik_jce_full.jar:/homes/rehn/iSaSiLk2.51/lib/iaik_ssl.jar:/homes/rehn/iSaSiLk2.51/src
Operating system name: SunOS
Operating system architecture: sparc
Operating system version: 5.5.1

Installed security providers providers:

Provider 1: IAIK  version: 2.5100000000000002
Provider 2: SUN  version: 1.2
Provider 3: JSSE  version: 1.0
java.io.IOException: Unable to decode private key:
java.security.InvalidKeyException: PublicKey algorithm not implemented:
md5WithRSAEncryption
        at https_test.main(Compiled Code)

but looking at the web page for the provider, it seems that
md5WithRSAEncryption is provided.  What can I do to fix this problem?

Thanks,
Nell

--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html

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