• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java program to encrypt the mail in outlook

 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • 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 .
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic