*
The moose likes Java in General and the fly likes java program to encrypt the mail in outlook Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java program to encrypt the mail in outlook" Watch "java program to encrypt the mail in outlook" New topic
Author

java program to encrypt the mail in outlook

pavithra murthy
Ranch Hand

Joined: Feb 06, 2009
Posts: 56
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
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
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).


Ping & DNS - my free Android networking tools app
pavithra murthy
Ranch Hand

Joined: Feb 06, 2009
Posts: 56
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
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
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

Joined: Feb 06, 2009
Posts: 56
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
Marshal

Joined: Mar 22, 2005
Posts: 41129
    
  45
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java program to encrypt the mail in outlook
 
Similar Threads
Exporting/Importing PKI Keys. Help!!!
what is openssl
java program to add digital signature into a pdf file
Help on signatures
Digital signature question