public abstract class SMimeParserListener extends Object implements MimeParserListener
Constructor and Description |
---|
SMimeParserListener() |
Modifier and Type | Method and Description |
---|---|
void |
content(MimeParserContext parserContext,
Headers headers,
InputStream inputStream) |
MimeContext |
createContext(MimeParserContext parserContext,
Headers headers)
Create an appropriate context object for the MIME object represented by headers.
|
void |
envelopedData(MimeParserContext parserContext,
Headers headers,
OriginatorInformation originatorInformation,
RecipientInformationStore recipients) |
void |
object(MimeParserContext parserContext,
Headers headers,
InputStream inputStream)
Signal that a MIME object has been discovered.
|
void |
signedData(MimeParserContext parserContext,
Headers headers,
Store certificates,
Store CRLs,
Store attributeCertificates,
SignerInformationStore signers) |
public MimeContext createContext(MimeParserContext parserContext, Headers headers)
MimeParserListener
createContext
in interface MimeParserListener
parserContext
- context object for the current parser.headers
- MIME headers for the object that has been discovered.public void object(MimeParserContext parserContext, Headers headers, InputStream inputStream) throws IOException
MimeParserListener
object
in interface MimeParserListener
parserContext
- context object for the current parser.headers
- headers for the MIME object.inputStream
- input stream representing its content.IOException
- in case of a parsing/processing error.public void content(MimeParserContext parserContext, Headers headers, InputStream inputStream) throws IOException
IOException
public void signedData(MimeParserContext parserContext, Headers headers, Store certificates, Store CRLs, Store attributeCertificates, SignerInformationStore signers) throws IOException, CMSException
IOException
CMSException
public void envelopedData(MimeParserContext parserContext, Headers headers, OriginatorInformation originatorInformation, RecipientInformationStore recipients) throws IOException, CMSException
IOException
CMSException
Copyright © 2021 BouncyCastle.org. All rights reserved.