OutputProcessor
XMLEncryptOutputProcessor
public abstract class AbstractEncryptOutputProcessor extends AbstractOutputProcessor
Modifier and Type | Class | 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 | Description |
---|---|
AbstractEncryptOutputProcessor() |
Modifier and Type | Method | 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) |
|
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, processNextEvent, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
public AbstractEncryptOutputProcessor() throws XMLSecurityException
XMLSecurityException
public abstract void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
processEvent
in class AbstractOutputProcessor
XMLStreamException
XMLSecurityException
public void doFinal(OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessor
doFinal
in interface OutputProcessor
doFinal
in class AbstractOutputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursprotected void doFinalInternal(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityException
protected void verifyEncryptionParts(OutputProcessorChain outputProcessorChain) throws XMLSecurityException
XMLSecurityException
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor getActiveInternalEncryptionOutputProcessor()
protected void setActiveInternalEncryptionOutputProcessor(AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor activeInternalEncryptionOutputProcessor)
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.