• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java program to encrypt the mail in outlook

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friend ,

i have written a java program to apply digital signature into pdf on every page .

I have used the keystore and Public key certificate using the keytool command in java .

According to the logic the Public key certificate will be on the server side and private key will be known only to me .

Now i have to write a java Program to send this signed pdf file in an email using outlook and it should be an encrypted one .

Meaning mail is encrypted fully where the signed digital signature is present.
I am not getting how to go about it . please could anyone help me out .
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This library may help: http://www.moyosoft.com/joc/features/ I'm not sure if it supports encryption, though (assuming that Outlook itself supports that to begin with).
 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friend ,

i have written a java program to apply digital signature into pdf on every page .

I have used the keystore and Public key certificate using the keytool command in java .

According to the logic the Public key certificate will be on the server side and private key will be known only to me .

Now i have to write a java Program to send this signed pdf file in an email using outlook and it should be an encrypted one .

the email received on the recepient side should be an encrypted email

Meaning mail is encrypted fully where the signed digital signature is present. tried with the link your sent but there is no encryption feature available there

I am not getting how to go about it . please could anyone help me out .
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At a quick glance, the second post seems to be identical to the first, so that doesn't help much. Have you ascertained that the library I linked to won't do?
 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello friend ,

yes , i checked with the link , but it is not supporting encryption .

I am thinking whether can we use JavaMail api for supporting this encryption. Please could you suggest me .
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JavaMail can be made to work with encryption, but I'm not aware of a library that would somehow connect it to Outlook.

If JavaMail sends the mail, what role do you want Outlook to play in it?
 
Men call me Jim. Women look past me to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic