I am working on a project wherein I am using the OpenPGP java API for encrypting and decrypting data.
I am using
OpenPGP java API - cryptix-openpgp-20050418-snap
Java version - JDK 1.5.0
Data is encrypted using - MEGACRYPTION/MVS V5.4 (
A encryption software used by mainframe application and supports PGP)
I am able to decrypt the file using the PGP Desktop tool, however, when I try to decrypt a file from the particular agency who is using the MEGACRYPTION, I get the following error
I am getting this error at the following point in the PGP code:
Class -
cryptix.openpgp.packet.PGPPublicKeyEncryptedSessionKeyPacket
Method call -
I modified the PGP code to allow version 113 which the version that comes up when the data is being decrypted, but this gives me another error �
Thanks for your help in advance
Joseph