BouncyCastle PGP Encryption not Functioning in Java CAPS version 5.1.1

(Doc ID 1025154.1)

Last updated on APRIL 16, 2018

Applies to:

Oracle Java CAPS - Version 5.1.1 to 5.1.1 [Release 5.1]
Information in this document applies to any platform.


When trying to encrypt using Bouncy Castle third-party JAR files an error is received similar to the following and the message is not encrypted:

PGP Encryption Failed with [org.bouncycastle.openpgp.PGPException: exception encrypting session key


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms