Some common exceptions that may occur when working with the library are:
org.bouncycastle.openpgp.PGPException: Exception creating cipher
org.bouncycastle.openpgp.PGPException: exception constructing public key
org.bouncycastle.openpgp.PGPException: exception encrypting session key
java.lang.SecurityException: Unsupported keysize or algorithm parameters
Resolution:
Try to download the files listed in JCE Unlimited Strength Policy files and try again.
If the problem appears after that, please contact us.