• Post Reply Bookmark Topic Watch Topic
  • New Topic

Assistance for using PGP

 
Gayan Keppetipola
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We have a J2EE system (runs on SUSE Linux) which emails system generated reports (PDF format) for end users. A new requirement was proposed to encrypt these reports using PGP before emailing to the end users.

From my understanding I require the following for this task.
  • A PGP application/plugging for the email receiver to generate a public key and decrypt files received through email.
  • A PGP API/SDK which would support java on SUSE Linux environment to encrypt the given reports using public key provided by the email receiver.


  • Are there any software/SDKS/technologies which I could look into to find the above requirements?

    Thank you in advance.
     
    Ulf Dittmer
    Rancher
    Posts: 42970
    73
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Welcome to JavaRanch.

    I think the Bouncy Castle library has all the Java APIs you need for the Java side, particularly OpenPGP.

    For the mail client side you have a choice of GNU GPG and PGP.
     
    Gayan Keppetipola
    Greenhorn
    Posts: 5
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Ulf,

    Thank you very much for the information. I went through the Java API in Bouncy Castle. It has the facility to encrypt files for a given public key. Additionally it has the facility to generate public and private keys as well. Think this would be sufficient for the requirement. I downloaded a trail version called PGP desktop which is available at www.pgp.com this also have the ability to generate public keys and decrypt files. I need to do a bit more research on this area more.

    Thanks again for the information.

    Regards,
    Gayan
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!