# Re: HELP : JCE : How to use KeyPairGenerator with Cipher

Jan Luehe (Jan.Luehe@Eng)
Tue, 9 Jun 1998 12:50:20 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marie Ricketts: "Signed Applets"
- Previous message: Narendra Patil: "Re: HELP : JCE : How to use KeyPairGenerator with Cipher"

    Date: Tue, 9 Jun 1998 12:50:20 -0700 (PDT)

    From: Jan Luehe <Jan.Luehe@Eng>

    Subject: Re: HELP : JCE : How to use KeyPairGenerator with Cipher

    To: Jan.Luehe@Eng, java-security@web3.javasoft.com, naren@corp.auspex.com

> When I run this program, I get following output :
> %java test3
> Caught exception java.security.NoSuchAlgorithmException: algorithm RSA not
> available.

This is because the (default) SunJCE provider does not supply
an implementation of RSA - due to RSA licensing restrictions.

If you have access to the Bsafe toolkit from RSA Data Security
(RSA DSI) or another implementation of RSA, you could write your
own provider of RSA (by writing Java wrapper code around the
Bsafe native implementation).

Please note that the Jsafe toolkit from RSA DSI supplies
a Java implementation of RSA. Jsafe 2.0, which will be released
sometime this summer/fall, will be compatible with JCE 1.2,
i.e., you will be able to attach their (RSA) provider to JCE 1.2.

Jan

- Next message: Marie Ricketts: "Signed Applets"
- Previous message: Narendra Patil: "Re: HELP : JCE : How to use KeyPairGenerator with Cipher"