Package org.bouncycastle.mail.smime
Class SMIMECompressedParser
- java.lang.Object
-
- org.bouncycastle.cms.CMSContentInfoParser
-
- org.bouncycastle.cms.CMSCompressedDataParser
-
- org.bouncycastle.mail.smime.SMIMECompressedParser
-
public class SMIMECompressedParser extends org.bouncycastle.cms.CMSCompressedDataParser
Stream based containing class for an S/MIME pkcs7-mime compressed MimePart.
-
-
Constructor Summary
Constructors Constructor Description SMIMECompressedParser(javax.mail.internet.MimeBodyPart message)
SMIMECompressedParser(javax.mail.internet.MimeBodyPart message, int bufferSize)
Create a parser from a MimeBodyPart using the passed in buffer size for reading it.SMIMECompressedParser(javax.mail.internet.MimeMessage message)
SMIMECompressedParser(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.MimePart
getCompressedContent()
-
-
-
Constructor Detail
-
SMIMECompressedParser
public SMIMECompressedParser(javax.mail.internet.MimeBodyPart message) throws javax.mail.MessagingException, org.bouncycastle.cms.CMSException
- Throws:
javax.mail.MessagingException
org.bouncycastle.cms.CMSException
-
SMIMECompressedParser
public SMIMECompressedParser(javax.mail.internet.MimeMessage message) throws javax.mail.MessagingException, org.bouncycastle.cms.CMSException
- Throws:
javax.mail.MessagingException
org.bouncycastle.cms.CMSException
-
SMIMECompressedParser
public SMIMECompressedParser(javax.mail.internet.MimeBodyPart message, int bufferSize) throws 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.- Throws:
javax.mail.MessagingException
org.bouncycastle.cms.CMSException
-
SMIMECompressedParser
public SMIMECompressedParser(javax.mail.internet.MimeMessage message, int bufferSize) throws 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
- bufferSoze to be used.- Throws:
javax.mail.MessagingException
org.bouncycastle.cms.CMSException
-
-