public class SMIMEEnvelopedParser
extends org.bouncycastle.cms.CMSEnvelopedDataParser
| Constructor | Description |
|---|---|
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.
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.mail.internet.MimePart |
getEncryptedContent() |
public SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message)
throws java.io.IOException,
javax.mail.MessagingException,
org.bouncycastle.cms.CMSException
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSExceptionpublic SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message)
throws java.io.IOException,
javax.mail.MessagingException,
org.bouncycastle.cms.CMSException
java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSExceptionpublic SMIMEEnvelopedParser(javax.mail.internet.MimeBodyPart message,
int bufferSize)
throws java.io.IOException,
javax.mail.MessagingException,
org.bouncycastle.cms.CMSException
message - body part to be parsed.bufferSize - bufferSoze to be used.java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSExceptionpublic SMIMEEnvelopedParser(javax.mail.internet.MimeMessage message,
int bufferSize)
throws java.io.IOException,
javax.mail.MessagingException,
org.bouncycastle.cms.CMSException
message - message to be parsed.bufferSize - bufferSoze to be used.java.io.IOExceptionjavax.mail.MessagingExceptionorg.bouncycastle.cms.CMSException