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]

Reply via email to