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

AW: [iaik-jce] problem with KeyAndCertificate class



Hello,

Are you sure that you have added the IAIK provider respectively not using
iaik_jce.jar only?

Regards,
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 Steffen Haase
Gesendet: Freitag, 24. November 2000 15:23
An: iaik-jce@iaik.at
Betreff: [iaik-jce] problem with KeyAndCertificate class


Hello,

we try to use the iaik.utils.KeyAndCertificate class. By invoking the
contructor with a .PEM or .DER certificate file as parameter the following
exception occurs.

java.io.IOException: Unable to decode private key:
java.security.InvalidKeyException: PublicKey algorithm not implemented:
md5WithRSAEncryption

I tried to find out the problem with by going through the jce sources. It
seems that the instanciation of the KeyFactory fails. This occurs in the
the iaik.asn1.structures.AlgorithmID class in the geKeyFactoryInstance()
method.

Can anybody verify the problem or has anybody a solution?

Thanks in Advance.

Steffen
+--- This message is printed on 100% recycled electrons ---+
Steffen Haase                       mailto:hoppel@celocom.de
Java SmartCard Development         http://www.celocom.com
                                    http://www.java-club.de
Celo Communications GmbH - The provider of secure e-business
Weissenfelser Str. 46a
D-06217 Merseburg
+--------------- cÍlo, ‚vi, ‚tum, (latin) 1 ---------------+

--
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




***************************************************************************
*                                                                         *
* IAIK S/MIME Mapper Security Info                                        *
* ===================================                                     *
*                                                                         *
* for message:                                                            *
*   From: "Dieter Bratko" <Dieter.Bratko@iaik.at>                         *
*   Date: Tue, 28 Nov 2000 18:21:45 +0100                                 *
*   Subject: AW: [iaik-jce] problem with KeyAndCertificate class          *
*                                                                         *
* Message S/MIME properties:                                              *
*                                                                         *
*   Encrypted using:    not encrypted                                     *
*                                                                         *
*   Digitally signed:   yes                                               *
*   Signature valid:    yes                                               *
*   Signature trusted:  yes                                               *
*                                                                         *
*                                                                         *
* Compliance with policy for email addresses *@iaik.at:                   *
*                                                                         *
*   Encryption:         OK (None or better required)                      *
*                                                                         *
*   Digital Signature:  OK (digital signature required)                   *
*                                                                         *
***************************************************************************