Link

Using an external jar for encrypted PDF files

We now have our own functionality to decrypt encrypted PDFs, but if you wanted to specify a certain provider then you can still do so using -Dorg.jpedal.securityprovider.

This has only be tested with BouncyCastle and may not work with other providers.

If the provider requires an additional jar then make sure that is added to the classpath when running JPedal e.g. :

java -Dorg.jpedal.securityprovider=“org.bouncycastle.jce.provider.BouncyCastleProvider" -cp jpedal.jar; C:\PDFdata\library\bcprov.jar; C:\PDFdata\library\bcmail.jar org.jpedal.examples.viewer.Viewer”

Still need help? Send us your questions.