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

Re: [iaik-jce] EncryptedPrivateKeyInfo in AppletEdition

This method is present in the 2.51 Appled Edition, please make sure you
are using the correct JAR file to execute your program.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at

-----Ursprüngliche Nachricht-----
Von: Lucia Bonelli <bonelli@mail.eng.it>
An: <iaik-jce@iaik.tu-graz.ac.at>
Gesendet: Freitag, 25. Juni 1999 18:20
Betreff: [iaik-jce] EncryptedPrivateKeyInfo in AppletEdition

> Hello.
> I downloaded JCE-2.5.1 AppletEdition. I used the ConvertSource tool to
> source code wich contains the following statements:
>    epki = new EncryptedPrivateKeyInfo(new FileInputStream(new
> String("c:\\privKey.p8));
>    privKey = epki.decrypt("passwordDemo");
> The compilation is OK, but at run time I've received the following
> message:
> java.lang.NoSuchMethodError: iaik.pkcs.pkcs8.EncryptedPrivateKeyInfo:
> method decrypt(Ljava/lang/String;)Ljava/security/PrivateKey; not found
> Thanks in advance.
> Lucia