Results 1 to 2 of 2
- 07-28-2014, 06:28 PM #1Member
- Join Date
- Jul 2014
- Rep Power
JavaMail-Crypto Decryption Example
I am looking for some example snippets where i can see JavaMail-Crypto api doing the decryption of the encrypted email and its attacment.
I have an encrypted email and the private key, i need to know how the api suports in decrypting the email content and attachment?
- 07-28-2014, 10:08 PM #2Just a guy
- Join Date
- Jun 2013
- Rep Power
Re: JavaMail-Crypto Decryption Example
I've given it some time before I answered.
Let me guess what has happened so far.
- You googled "javamail encryption" and each and every of the few relevant links you got pointed you to javamail-crypto
- each and every link you found mentions "there is this thing called javamail-crypto", but nobody seems to actually have ever used it; just like you they just found it using a google
- the main page shows no documentation as "the code is the documentation"
- now you come here as the last hope that someone might be able to point you to something
I'm going to make two personal assumptions.
- you don't know anything about using Java to do public/private key encryption/decryption or using BouncyCastle
- you were looking for a quick API to not have to learn that very difficult topic either and javamail-crypto is what looked to do it for you
At this point I'm going to crush your hopes. I did the Google too and from my experience with finding even the most obscurely hidden information, I'm pretty sure it is not there to be found. I'll scrape a few observations from the sourceforge page to backup my claim.
- "the code is the documentation" (that's ALWAYS a red flag; I don't use jars which work like that)
- "Its in development"
- last updated: 2004
This was pretty much a pipe dream of someone but he/she never pushed it to something finished. These kind of dead-on-arrival projects don't actually exist to give you something read-to-use, they only exist to share the source code so you can pick it up and use the code for your own purposes. That requires you to know the material."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- By java software in forum Java SoftwareReplies: 0Last Post: 02-04-2012, 06:51 PM
- By vineet143 in forum Java ServletReplies: 1Last Post: 06-14-2011, 01:26 PM
- By morello in forum Advanced JavaReplies: 0Last Post: 02-26-2011, 10:23 PM
- By Bill86 in forum Advanced JavaReplies: 1Last Post: 12-18-2009, 10:17 PM
- By jevans in forum Advanced JavaReplies: 1Last Post: 10-11-2008, 05:36 PM