public class

SMIMEEnvelopedParser

extends CMSEnvelopedDataParser
java.lang.Object
   ↳ org.bouncycastle.cms.CMSContentInfoParser
     ↳ org.bouncycastle.cms.CMSEnvelopedDataParser
       ↳ org.bouncycastle.mail.smime.SMIMEEnvelopedParser

Class Overview

Stream based containing class for an S/MIME pkcs7-mime encrypted MimePart.

Summary

[Expand]
Inherited Fields
From class org.bouncycastle.cms.CMSContentInfoParser
Public Constructors
SMIMEEnvelopedParser(MimeBodyPart message)
SMIMEEnvelopedParser(MimeMessage message)
SMIMEEnvelopedParser(MimeBodyPart message, int bufferSize)
Create a parser from a MimeBodyPart using the passed in buffer size for reading it.
SMIMEEnvelopedParser(MimeMessage message, int bufferSize)
Create a parser from a MimeMessage using the passed in buffer size for reading it.
Public Methods
MimePart getEncryptedContent()
[Expand]
Inherited Methods
From class org.bouncycastle.cms.CMSEnvelopedDataParser
From class org.bouncycastle.cms.CMSContentInfoParser
From class java.lang.Object

Public Constructors

public SMIMEEnvelopedParser (MimeBodyPart message)

Throws
CMSException
IOException
MessagingException

public SMIMEEnvelopedParser (MimeMessage message)

Throws
CMSException
IOException
MessagingException

public SMIMEEnvelopedParser (MimeBodyPart message, int bufferSize)

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
CMSException
IOException
MessagingException

public SMIMEEnvelopedParser (MimeMessage message, int bufferSize)

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
CMSException
IOException
MessagingException

Public Methods

public MimePart getEncryptedContent ()