Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.mail.internet.MimePart getEncryptedContent()  
      • 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 Detail

      • 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 Detail

      • getEncryptedContent

        public javax.mail.internet.MimePart getEncryptedContent()