Bouncy Castle Cryptography Library 1.81

org.bouncycastle.mail.smime
Class SMIMEAuthEnvelopedParser

java.lang.Object
  extended byorg.bouncycastle.cms.CMSContentInfoParser
      extended byorg.bouncycastle.cms.CMSAuthEnvelopedDataParser
          extended byorg.bouncycastle.mail.smime.SMIMEAuthEnvelopedParser

public class SMIMEAuthEnvelopedParser
extends org.bouncycastle.cms.CMSAuthEnvelopedDataParser

Stream based containing class for an S/MIME pkcs7-mime encrypted MimePart using AEAD algorithm.


Field Summary
 
Fields inherited from class org.bouncycastle.cms.CMSContentInfoParser
_contentInfo, _data
 
Constructor Summary
SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message)
           
SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message, int bufferSize)
          Create a parser from a MimeBodyPart using the passed in buffer size for reading it.
SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message)
           
SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message, int bufferSize)
          Create a parser from a MimeMessage using the passed in buffer size for reading it.
 
Method Summary
 javax.mail.internet.MimePart getEncryptedContent()
           
 
Methods inherited from class org.bouncycastle.cms.CMSAuthEnvelopedDataParser
getAuthAttrs, getContentDigest, getEncAlgOID, getEncAlgParams, getEncryptionAlgOID, getMac, getOriginatorInfo, getRecipientInfos, getUnauthAttrs
 
Methods inherited from class org.bouncycastle.cms.CMSContentInfoParser
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMIMEAuthEnvelopedParser

public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message)
                         throws java.io.IOException,
                                javax.mail.MessagingException,
                                org.bouncycastle.cms.CMSException

SMIMEAuthEnvelopedParser

public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message)
                         throws java.io.IOException,
                                javax.mail.MessagingException,
                                org.bouncycastle.cms.CMSException

SMIMEAuthEnvelopedParser

public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message,
                                int bufferSize)
                         throws java.io.IOException,
                                javax.mail.MessagingException,
                                org.bouncycastle.cms.CMSException
Create a parser from a MimeBodyPart using the passed in buffer size for reading it.

Parameters:
message - body part to be parsed.
bufferSize - bufferSoze to be used.

SMIMEAuthEnvelopedParser

public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message,
                                int bufferSize)
                         throws java.io.IOException,
                                javax.mail.MessagingException,
                                org.bouncycastle.cms.CMSException
Create a parser from a MimeMessage using the passed in buffer size for reading it.

Parameters:
message - message to be parsed.
bufferSize - bufferSize to be used.
Method Detail

getEncryptedContent

public javax.mail.internet.MimePart getEncryptedContent()

Bouncy Castle Cryptography Library 1.81