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

Re: [iaik-ssl] Unable to decode private key



Hello,
 Itīs true, the md5WithRSAEncryption algorithm is implemented, but there is
no KeyFactory for a private key with algorithmID md5WithRSAEncryption.

Dieter Bratko
----- Original Message -----
From: Nell Rehn <nellrehn@midway.uchicago.edu>
To: <iaik-ssl@iaik.tu-graz.ac.at>
Sent: Tuesday, August 31, 1999 8:37 PM
Subject: [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/l
ib/rt.jar:.:/homes/rehn/iaik_jce_full.jar:/homes/rehn/iSaSiLk2.51/lib/iaik_s
sl.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/l
ib/rt.jar:.:/homes/rehn/iaik_jce_full.jar:/homes/rehn/iSaSiLk2.51/lib/iaik_s
sl.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
>
>
>


smime.p7s