Security Implementation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, May 21, 2001 11:37 PM

for signature generation , when we make use of KeyPairGenerator class using its getInstance method and specifying the algorithm as RSA why is it throwing exception.
How to create digital signature using MD5withRSA?

Re: Security Implementation

Posted By:   Sebastien_Spas  
Posted On:   Friday, June 1, 2001 10:56 AM

Did you registered the security provider in your JVM ?

this can be done two ways,

by adding the following lines to the JRE_HOME/lib/security/java.security file

security.provider.2=com.sun.crypto.provider.SunJCE (the class name depends the security provider you'll use for RSA)

or in your java code by :
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
then the java class which execute that should have the right to set a seucrity provider (defined in the java.policy file).

What RSA libraries do you use ?
About | Sitemap | Contact