Class SMIMEEnveloped

java.lang.Object
org.bouncycastle.cms.CMSEnvelopedData
org.bouncycastle.mail.smime.SMIMEEnveloped
All Implemented Interfaces:
org.bouncycastle.util.Encodable

public class SMIMEEnveloped extends org.bouncycastle.cms.CMSEnvelopedData
containing class for an S/MIME pkcs7-mime encrypted MimePart.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SMIMEEnveloped(javax.mail.internet.MimeBodyPart message)
     
    SMIMEEnveloped(javax.mail.internet.MimeMessage message)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.mail.internet.MimePart
     

    Methods inherited from class org.bouncycastle.cms.CMSEnvelopedData

    getContentEncryptionAlgorithm, getEncoded, getEncryptionAlgOID, getEncryptionAlgParams, getOriginatorInfo, getRecipientInfos, getUnprotectedAttributes, toASN1Structure

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SMIMEEnveloped

      public SMIMEEnveloped(javax.mail.internet.MimeBodyPart message) throws javax.mail.MessagingException, org.bouncycastle.cms.CMSException
      Throws:
      javax.mail.MessagingException
      org.bouncycastle.cms.CMSException
    • SMIMEEnveloped

      public SMIMEEnveloped(javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException, org.bouncycastle.cms.CMSException
      Throws:
      javax.mail.MessagingException
      org.bouncycastle.cms.CMSException
  • Method Details

    • getEncryptedContent

      public javax.mail.internet.MimePart getEncryptedContent()