org.bouncycastle.mail.smime

Class SMIMEEnveloped


public class SMIMEEnveloped
extends CMSEnvelopedData

containing class for an S/MIME pkcs7-mime encrypted MimePart.

Constructor Summary

SMIMEEnveloped(MimeBodyPart message)
SMIMEEnveloped(MimeMessage message)

Method Summary

MimePart
getEncryptedContent()

Methods inherited from class org.bouncycastle.cms.CMSEnvelopedData

getEncoded, getEncryptionAlgOID, getEncryptionAlgParams, getEncryptionAlgorithmParameters, getRecipientInfos, getUnprotectedAttributes

Constructor Details

SMIMEEnveloped

public SMIMEEnveloped(MimeBodyPart message)
            throws MessagingException,
                   CMSException

SMIMEEnveloped

public SMIMEEnveloped(MimeMessage message)
            throws MessagingException,
                   CMSException

Method Details

getEncryptedContent

public MimePart getEncryptedContent()