org.bouncycastle.mail.smime
Class SMIMEEnvelopedParser
java.lang.Object
org.bouncycastle.cms.CMSContentInfoParser
org.bouncycastle.cms.CMSEnvelopedDataParser
org.bouncycastle.mail.smime.SMIMEEnvelopedParser
public class SMIMEEnvelopedParser
- extends CMSEnvelopedDataParser
Stream based containing class for an S/MIME pkcs7-mime encrypted MimePart.
Constructor Summary |
SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message)
|
SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message,
int bufferSize)
Create a parser from a MimeBodyPart using the passed in buffer size
for reading it. |
SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message)
|
SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message,
int bufferSize)
Create a parser from a MimeMessage using the passed in buffer size
for reading it. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message)
throws java.io.IOException,
javax.mail.MessagingException,
CMSException
- Throws:
java.io.IOException
javax.mail.MessagingException
CMSException
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message)
throws java.io.IOException,
javax.mail.MessagingException,
CMSException
- Throws:
java.io.IOException
javax.mail.MessagingException
CMSException
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message,
int bufferSize)
throws java.io.IOException,
javax.mail.MessagingException,
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:
java.io.IOException
javax.mail.MessagingException
CMSException
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message,
int bufferSize)
throws java.io.IOException,
javax.mail.MessagingException,
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:
java.io.IOException
javax.mail.MessagingException
CMSException
getEncryptedContent
public javax.mail.internet.MimePart getEncryptedContent()