Link
Skip to main content

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 -D'org.jpedal.securityprovider'.

This has only been 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 modulepath when running JPedal e.g. :

java -D'org.jpedal.securityprovider'="org.bouncycastle.jce.provider.BouncyCastleProvider" --module-path . --add-modules "com.idrsolutions.jpedal,org.bouncycastle.provider,org.bouncycastle.mail" org.jpedal.examples.viewer.Viewer

We recommend modules, but you can still use the classpath if you want to.


Why JPedal?

  • Actively developed commercial library with full support and no third party dependencies.
  • Process PDF files up to 3x faster than alternative Java PDF libraries.
  • Simple licensing options and source code access for OEM users.

Learn more about JPedal

Start Your Free Trial


Customer Downloads

Select Download