Top Description Constructors Methods
org.bouncycastle.mail.smime.examples

public Class ReadEncryptedMail

extends Object
Class Inheritance
Imports
java.io.FileInputStream, java.security.KeyStore, .PrivateKey, java.security.cert.X509Certificate, java.util.Enumeration, .Properties, javax.mail.Session, javax.mail.internet.MimeBodyPart, .MimeMessage, org.bouncycastle.cms.RecipientId, .RecipientInformation, .RecipientInformationStore, org.bouncycastle.cms.jcajce.JceKeyTransEnvelopedRecipient, .JceKeyTransRecipientId, org.bouncycastle.mail.smime.SMIMEEnveloped, .SMIMEUtil

a simple example that reads an encrypted email.

The key store can be created using the class in org.bouncycastle.jce.examples.PKCS12Example - the program expects only one key to be present.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
main(String[] args)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ReadEncryptedMailback to summary
public ReadEncryptedMail()

Method Detail

mainback to summary
public static void main(String[] args) throws Exception