Class EncryptOutputProcessor
- java.lang.Object
-
- org.apache.xml.security.stax.ext.AbstractOutputProcessor
-
- org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
-
- org.apache.wss4j.stax.impl.processor.output.EncryptOutputProcessor
-
- All Implemented Interfaces:
org.apache.xml.security.stax.ext.OutputProcessor
public class EncryptOutputProcessor extends org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
Processor to encrypt XML structures
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor, org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor.CharacterEventGeneratorOutputStream
-
-
Constructor Summary
Constructors Constructor Description EncryptOutputProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFinalInternal(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)
void
init(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)
void
processEvent(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)
protected org.apache.xml.security.stax.ext.SecurePart
securePartMatches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement, Map<Object,org.apache.xml.security.stax.ext.SecurePart> secureParts)
protected void
setupAttachmentEncryptionStreams(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)
-
Methods inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
doFinal, getActiveInternalEncryptionOutputProcessor, setActiveInternalEncryptionOutputProcessor, verifyEncryptionParts
-
Methods 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, outputAsEvent, outputDOMElement, securePartMatches, setAction, setPhase, setXMLSecurityProperties
-
-
-
-
Method Detail
-
init
public void init(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
init
in interfaceorg.apache.xml.security.stax.ext.OutputProcessor
- Overrides:
init
in classorg.apache.xml.security.stax.ext.AbstractOutputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
processEvent
public void processEvent(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
processEvent
in interfaceorg.apache.xml.security.stax.ext.OutputProcessor
- Specified by:
processEvent
in classorg.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
- Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException
-
securePartMatches
protected org.apache.xml.security.stax.ext.SecurePart securePartMatches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement, Map<Object,org.apache.xml.security.stax.ext.SecurePart> secureParts)
- Overrides:
securePartMatches
in classorg.apache.xml.security.stax.ext.AbstractOutputProcessor
-
doFinalInternal
public void doFinalInternal(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws org.apache.xml.security.exceptions.XMLSecurityException
- Overrides:
doFinalInternal
in classorg.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
setupAttachmentEncryptionStreams
protected void setupAttachmentEncryptionStreams(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain) throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
-