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

[iaik-jce] Exception: PublicKey algorithm not implemented: rsaEncryption



When I use the NetscapeCertRequest class to get the public key from the
encoded message like the below:

String pkey=req.getParameter("key");
byte[] encodeddata=pkey.getBytes();
NetscapeCertRequest test=new NetscapeCertRequest(encodeddata);
PublicKey PublicKey=test.getPublicKey();

It throw the "PublicKey algorithm not implemented: rsaEncryption "
exception.

What's the problem and how to overcome it?

Thanz for help.

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