Top Description Fields Constructors Methods
org.bouncycastle.mail.smime

public Class SMIMECompressedParser

extends CMSCompressedDataParser
Class Inheritance
Imports
jakarta.mail.MessagingException, jakarta.mail.internet.MimeBodyPart, .MimeMessage, .MimePart, org.bouncycastle.cms.CMSCompressedDataParser, .CMSException

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

Field Summary

Modifier and TypeField and Description
private final MimePart

Constructor Summary

AccessConstructor and Description
public
public
public
SMIMECompressedParser(MimeBodyPart
body part to be parsed.
message
,
int
bufferSoze to be used.
bufferSize
)

Create a parser from a MimeBodyPart using the passed in buffer size for reading it.

public
SMIMECompressedParser(MimeMessage
message to be parsed.
message
,
int
bufferSoze to be used.
bufferSize
)

Create a parser from a MimeMessage using the passed in buffer size for reading it.

Method Summary

Modifier and TypeMethod and Description
public MimePart
Inherited from org.bouncycastle.cms.CMSCompressedDataParser:
getContent

Field Detail

messageback to summary
private final MimePart message

Constructor Detail

SMIMECompressedParserback to summary
public SMIMECompressedParser(MimeBodyPart message) throws MessagingException, CMSException
SMIMECompressedParserback to summary
public SMIMECompressedParser(MimeMessage message) throws MessagingException, CMSException
SMIMECompressedParserback to summary
public SMIMECompressedParser(MimeBodyPart message, int bufferSize) throws MessagingException, CMSException

Create a parser from a MimeBodyPart using the passed in buffer size for reading it.

Parameters
message:MimeBodyPart

body part to be parsed.

bufferSize:int

bufferSoze to be used.

SMIMECompressedParserback to summary
public SMIMECompressedParser(MimeMessage message, int bufferSize) throws MessagingException, CMSException

Create a parser from a MimeMessage using the passed in buffer size for reading it.

Parameters
message:MimeMessage

message to be parsed.

bufferSize:int

bufferSoze to be used.

Method Detail

getCompressedContentback to summary
public MimePart getCompressedContent()