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

[iaik-jce] RSA-Certificate


why isn't it possible to sign a X509Certificate with an RSA key?

If I call 

  cert.sign(AlgorithmID.rsa, caPrivKey);

I get the exception:

  java.security.NoSuchAlgorithmException: No implementaion for RSA

The alternative is DSA, but DSA is not very secure, because of its key-length (max. 1024).

Thanks for your help!

Best regards,
Thomas Kuhlmann

Thomas Kuhlmann
Bertelsmann mediaSystems
Abt.: NMG-SD3
Tel.: +49 / 5241 / 80 - 41236
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