Package org.bouncycastle.mail.smime
Class SMIMEAuthEnvelopedParser
- java.lang.Object
-
- org.bouncycastle.cms.CMSContentInfoParser
-
- org.bouncycastle.cms.CMSAuthEnvelopedDataParser
-
- org.bouncycastle.mail.smime.SMIMEAuthEnvelopedParser
-
public class SMIMEAuthEnvelopedParser extends org.bouncycastle.cms.CMSAuthEnvelopedDataParserStream based containing class for an S/MIME pkcs7-mime encrypted MimePart using AEAD algorithm.
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.mail.internet.MimePartgetEncryptedContent()
-
-
-
Constructor Detail
-
SMIMEAuthEnvelopedParser
public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message) throws java.io.IOException, javax.mail.MessagingException, org.bouncycastle.cms.CMSException- Throws:
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSException
-
SMIMEAuthEnvelopedParser
public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message) throws java.io.IOException, javax.mail.MessagingException, org.bouncycastle.cms.CMSException- Throws:
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSException
-
SMIMEAuthEnvelopedParser
public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeBodyPart message, int bufferSize) throws java.io.IOException, javax.mail.MessagingException, org.bouncycastle.cms.CMSExceptionCreate 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.- Throws:
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSException
-
SMIMEAuthEnvelopedParser
public SMIMEAuthEnvelopedParser(javax.mail.internet.MimeMessage message, int bufferSize) throws java.io.IOException, javax.mail.MessagingException, org.bouncycastle.cms.CMSExceptionCreate 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.- Throws:
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSException
-
-