Class EncryptEndingOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractEncryptEndingOutputProcessor
org.apache.wss4j.stax.impl.processor.output.EncryptEndingOutputProcessor
- All Implemented Interfaces:
org.apache.xml.security.stax.ext.OutputProcessor
public class EncryptEndingOutputProcessor
extends org.apache.xml.security.stax.impl.processor.output.AbstractEncryptEndingOutputProcessor
Processor buffers encrypted XMLEvents and forwards them when final is called
-
Field Summary
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, actionOrder, securityProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflushBufferAndCallbackAfterHeader(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEventDeque) voidprocessHeaderEvent(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) Methods inherited from class org.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor
doFinal, getXmlSecEventBuffer, processEventMethods inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getActionOrder, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
-
Constructor Details
-
EncryptEndingOutputProcessor
public EncryptEndingOutputProcessor() throws org.apache.xml.security.exceptions.XMLSecurityException- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
-
Method Details
-
processHeaderEvent
public void processHeaderEvent(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException - Specified by:
processHeaderEventin classorg.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor- Throws:
XMLStreamExceptionorg.apache.xml.security.exceptions.XMLSecurityException
-
flushBufferAndCallbackAfterHeader
public void flushBufferAndCallbackAfterHeader(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain, Deque<org.apache.xml.security.stax.ext.stax.XMLSecEvent> xmlSecEventDeque) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException - Overrides:
flushBufferAndCallbackAfterHeaderin classorg.apache.xml.security.stax.ext.AbstractBufferingOutputProcessor- Throws:
XMLStreamExceptionorg.apache.xml.security.exceptions.XMLSecurityException
-