org.bouncycastle.mail.smime
Class SMIMEEnvelopedParser
public class SMIMEEnvelopedParser
Stream based containing class for an S/MIME pkcs7-mime encrypted MimePart.
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(MimeBodyPart message)
throws IOException,
MessagingException,
CMSException
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(MimeBodyPart message,
int bufferSize)
throws IOException,
MessagingException,
CMSException
Create a parser from a MimeBodyPart using the passed in buffer size
for reading it.
message
- body part to be parsed.bufferSize
- bufferSoze to be used.
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(MimeMessage message)
throws IOException,
MessagingException,
CMSException
SMIMEEnvelopedParser
public SMIMEEnvelopedParser(MimeMessage message,
int bufferSize)
throws IOException,
MessagingException,
CMSException
Create a parser from a MimeMessage using the passed in buffer size
for reading it.
message
- message to be parsed.bufferSize
- bufferSoze to be used.
getEncryptedContent
public MimePart getEncryptedContent()