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

public Class SMIMEAuthEnvelopedParser

extends CMSAuthEnvelopedDataParser
Class Inheritance
Imports
org.bouncycastle.cms.CMSAuthEnvelopedDataParser, .CMSException, javax.mail.MessagingException, javax.mail.internet.MimeBodyPart, .MimeMessage, .MimePart, java.io.IOException

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

Field Summary

Modifier and TypeField and Description
private final MimePart

Constructor Summary

AccessConstructor and Description
public
public
public
SMIMEAuthEnvelopedParser(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
SMIMEAuthEnvelopedParser(MimeMessage
message to be parsed.
message
,
int
bufferSize 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.CMSAuthEnvelopedDataParser:
getAuthAttrsgetContentDigestgetEncAlgOIDgetEncAlgParamsgetEncryptionAlgOIDgetMacgetOriginatorInfogetRecipientInfosgetUnauthAttrs

Field Detail

messageback to summary
private final MimePart message

Constructor Detail

SMIMEAuthEnvelopedParserback to summary
public SMIMEAuthEnvelopedParser(MimeBodyPart message) throws IOException, MessagingException, CMSException
SMIMEAuthEnvelopedParserback to summary
public SMIMEAuthEnvelopedParser(MimeMessage message) throws IOException, MessagingException, CMSException
SMIMEAuthEnvelopedParserback to summary
public SMIMEAuthEnvelopedParser(MimeBodyPart message, int bufferSize) throws IOException, 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.

SMIMEAuthEnvelopedParserback to summary
public SMIMEAuthEnvelopedParser(MimeMessage message, int bufferSize) throws IOException, 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

bufferSize to be used.

Method Detail

getEncryptedContentback to summary
public MimePart getEncryptedContent()