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)
MimeParserListenercreateContext in interface MimeParserListenerparserContext - 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
MimeParserListenerobject in interface MimeParserListenerparserContext - 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
IOExceptionpublic void signedData(MimeParserContext parserContext, Headers headers, Store certificates, Store CRLs, Store attributeCertificates, SignerInformationStore signers) throws IOException, CMSException
IOExceptionCMSExceptionpublic void envelopedData(MimeParserContext parserContext, Headers headers, OriginatorInformation originatorInformation, RecipientInformationStore recipients) throws IOException, CMSException
IOExceptionCMSExceptionCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.