wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Send Encrypted Emails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Send Encrypted Emails" Watch "Send Encrypted Emails" New topic
Author

Send Encrypted Emails

Colin C. Pace
Greenhorn

Joined: Mar 28, 2006
Posts: 2
is it possible to use the Java Mail API to send emails encrypted using an email certificate?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

A few years ago I wrote software that would periodically send and receive encrypted mail using the JavaMail API. We used Java 1.4 and we had to use the Bouncy Castle cryptography library to encrypt and decrypt the mail.

So yes, it is possible. Unfortunately it's already three years ago or so that I did this so I forgot all the details about how to do it. The Bouncy Castle website may contain some examples.
[ January 23, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Send Encrypted Emails
 
Similar Threads
Serialization - SerialVersionId
Java based Microsoft Email Encryption Help?
RC4 cypher in Java, decypher in JavaScript.
WA #1.....word association
S/MIME battles