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

[iaik-jce] EncryptedPrivateKeyInfo in AppletEdition

I downloaded JCE-2.5.1 AppletEdition. I used the ConvertSource tool to a
source code wich contains the following statements:

   epki = new EncryptedPrivateKeyInfo(new FileInputStream(new

   privKey = epki.decrypt("passwordDemo");

The compilation is OK, but at run time I've received the following

java.lang.NoSuchMethodError: iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo:
method decrypt(Ljava/lang/String;)Ljava/security/PrivateKey; not found

Thanks in advance.

Lucia Bonelli
Engineering Ingegneria Informatica SpA
Laboratorio Ricerca & Sviluppo
Viale del Castro Pretorio, 116
00185 Roma Italia
Tel. +39 06 44741123

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

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