package

org.bouncycastle.mail.smime

High level classes for dealing with S/MIME objects (RFC 3851).

There is one thing that is worth commenting about with these. If you're using AS2 on some other standard which specifies a different default content transfer encoding from RFC 2405, make sure you use the constructors on SMIMESigned and SMIMESignedGenerator that allow you to set the default ("binary" in the case of AS2 as opposed to "bit7" which is the default).

Interfaces

Classes

CMSProcessableBodyPart a holding class for a BodyPart to be processed. 
CMSProcessableBodyPartInbound a holding class for a BodyPart to be processed which does CRLF canonicalisation if dealing with non-binary data. 
CMSProcessableBodyPartOutbound a holding class for a BodyPart to be processed which does CRLF canocicalisation if dealing with non-binary data. 
SMIMECompressed containing class for an S/MIME pkcs7-mime MimePart. 
SMIMECompressedGenerator General class for generating a pkcs7-mime compressed message. 
SMIMECompressedParser Stream based containing class for an S/MIME pkcs7-mime compressed MimePart. 
SMIMEEnveloped containing class for an S/MIME pkcs7-mime encrypted MimePart. 
SMIMEEnvelopedGenerator General class for generating a pkcs7-mime message. 
SMIMEEnvelopedParser Stream based containing class for an S/MIME pkcs7-mime encrypted MimePart. 
SMIMEGenerator super class of the various generators. 
SMIMESigned general class for handling a pkcs7-signature message. 
SMIMESignedGenerator general class for generating a pkcs7-signature message. 
SMIMESignedParser general class for handling a pkcs7-signature message. 
SMIMEUtil  

Exceptions