I have manually added bcprov-jdk14-133.jar to my classpath and have also added a entry security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider to my java.security file under c:\j2sdk1.4.2_01\jre\lib\security. But still getting the same error "Cannot find any provider supporting RC4"
I don't think it's the classpath problem. Is the location of java.security file correct. I think problem is due to changes not getting picked in java.security. Please Help.... -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 5:15 PM To: [email protected] Subject: Re: PDF Encrption problem Singhal, Ramneek (Exchange) wrote: > i have encrypt generated PDF's, so that user can not copy or modify > its text using tools like PDF Distiller. > > i went through the document on link > http://xmlgraphics.apache.org/fop/0.20.5/pdfencryption.html > > i have downloaded and installed Bouncy Castle > <http://www.bouncycastle.org/> provider for RC4 cipher and has > registered it in java.security file as instructed on the above > mentioned URL. but stll i am getting "Cannot find any provider supporting RC4" > error when i am running fop on command line. > > i am using j2sdk1.4.2_01 and fop-0.20.5 binery version. The distribution is compiled with encryption support. If you still get the message as you describe, either the bouncy castle jar aren't in the class path (if you use the .bat file from the distribution, you have to add it manually), or the changes in the java.security file aren't taken into account for some reason. I guess it's the classpath problem. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************************** Please be aware that, notwithstanding the fact that the person sending this communication has an address in Bear Stearns' e-mail system, this person is not an employee, agent or representative of Bear Stearns. Accordingly, this person has no power or authority to represent, make any recommendation, solicitation, offer or statements or disclose information on behalf of or in any way bind Bear Stearns or any of its affiliates. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
