public abstract class AbstractEncryptOutputProcessor extends AbstractOutputProcessor
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
Processor which handles the effective encryption of the data
|
class |
AbstractEncryptOutputProcessor.CharacterEventGeneratorOutputStream
Creates Character-XMLEvents from the byte stream
|
action, securityProperties| Constructor and Description |
|---|
AbstractEncryptOutputProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
doFinal(OutputProcessorChain outputProcessorChain)
Will be called when the whole document is processed.
|
protected void |
doFinalInternal(OutputProcessorChain outputProcessorChain) |
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor |
getActiveInternalEncryptionOutputProcessor() |
abstract void |
processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
Will be called from the framework for every XMLEvent
|
protected void |
setActiveInternalEncryptionOutputProcessor(AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor activeInternalEncryptionOutputProcessor) |
protected void |
verifyEncryptionParts(OutputProcessorChain outputProcessorChain) |
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityPropertiespublic AbstractEncryptOutputProcessor()
throws XMLSecurityException
XMLSecurityExceptionpublic abstract void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessorxmlSecEvent - The next XMLEvent to processXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic void doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessordoFinal in interface OutputProcessordoFinal in class AbstractOutputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursprotected void doFinalInternal(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityExceptionprotected void verifyEncryptionParts(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityExceptionprotected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor getActiveInternalEncryptionOutputProcessor()
protected void setActiveInternalEncryptionOutputProcessor(AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor activeInternalEncryptionOutputProcessor)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.