bcmail-jdk18on 1.80
org.bouncycastle.mail.smime.examples
SendSignedAndEncryptedMail
Top
Description
Constructors
Methods
org.bouncycastle.mail.smime.examples
public
Class SendSignedAndEncryptedMail
extends
Object
Class Inheritance
java.lang.Object
org.bouncycastle.mail.smime.examples.SendSignedAndEncryptedMail
Imports
java.
io.
ByteArrayInputStream
,
.ByteArrayOutputStream
,
.FileInputStream
,
java.
security.
KeyStore
,
.PrivateKey
,
.Security
,
java.
security.
cert.
Certificate
,
.X509Certificate
,
java.
util.
ArrayList
,
.Enumeration
,
.List
,
.Properties
,
javax.
activation.
CommandMap
,
.MailcapCommandMap
,
javax.
mail.
Message
,
.Session
,
.Transport
,
javax.
mail.
internet.
InternetAddress
,
.MimeBodyPart
,
.MimeMessage
,
.MimeMultipart
,
org.
bouncycastle.
asn1.
ASN1EncodableVector
,
org.
bouncycastle.
asn1.
cms.
AttributeTable
,
.IssuerAndSerialNumber
,
org.
bouncycastle.
asn1.
smime.
SMIMECapabilitiesAttribute
,
.SMIMECapability
,
.SMIMECapabilityVector
,
.SMIMEEncryptionKeyPreferenceAttribute
,
org.
bouncycastle.
asn1.
x500.
X500Name
,
org.
bouncycastle.
cert.
jcajce.
JcaCertStore
,
org.
bouncycastle.
cms.
CMSAlgorithm
,
org.
bouncycastle.
cms.
jcajce.
JcaSimpleSignerInfoGeneratorBuilder
,
.JceCMSContentEncryptorBuilder
,
.JceKeyTransRecipientInfoGenerator
,
org.
bouncycastle.
jce.
provider.
BouncyCastleProvider
,
org.
bouncycastle.
mail.
smime.
SMIMEEnvelopedGenerator
,
.SMIMEException
,
.SMIMESignedGenerator
,
org.
bouncycastle.
util.
Store
,
.Strings
Example that sends a signed and encrypted mail message.
Constructor Summary
Access
Constructor and Description
public
SendSignedAndEncryptedMail
()
Method Summary
Modifier and Type
Method and Description
public
static
void
main
(
String
[] args
)
Inherited from
java.lang.Object
:
clone
equals
finalize
getClass
hashCode
notify
notifyAll
toString
wait
wait
wait
Constructor Detail
SendSignedAndEncryptedMail
back to summary
public
SendSignedAndEncryptedMail
()
Method Detail
main
back to summary
public
static
void
main
(
String
[] args
)