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
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 from Java 11 onwards, if you are using an older version you will have to use the classpath.