> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, August 25, 2003 11:23 PM > To: [EMAIL PROTECTED] > Subject: Re:crypto problem > > > Maxime Colas des Francs wrote: > > > I attempt to use openpgp in my web application > > For that i use an external provider. > > I put jar files in WEB-INF/lib and in a 'load-on-startup' > servlet, i > > call > > Security.addProvider() and i read a public key from a file for futur > > encryptions. > >
> > I hope I can... > > What JDK version are you using, 1.3 or 1.4? 1.4 didn't like > it when I had a "Security.addProvider()" line in my code. You > might check out the cryptography forum at > http://forums.java.com - that was VERY > helpful to me. > If you have Problems with Security.addProvider call you might try to register the provider statically in your "java.security" file. (should be in the jre/lib/security/ dir) Try to add the provider: security.provider.4=<com.organization.ProviderXYZName> It might be, that the Original Provider must reside in first position. H2H, Rudolf --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
