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.AbstractEncryptOutputProcessorProcessor 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 voiddoFinalInternal(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)voidinit(org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)voidprocessEvent(org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, org.apache.xml.security.stax.ext.OutputProcessorChain outputProcessorChain)protected org.apache.xml.security.stax.ext.SecurePartsecurePartMatches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement, Map<Object,org.apache.xml.security.stax.ext.SecurePart> secureParts)protected voidsetupAttachmentEncryptionStreams(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:
initin interfaceorg.apache.xml.security.stax.ext.OutputProcessor- Overrides:
initin 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:
processEventin interfaceorg.apache.xml.security.stax.ext.OutputProcessor- Specified by:
processEventin classorg.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor- Throws:
XMLStreamExceptionorg.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:
securePartMatchesin 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:
doFinalInternalin 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
-
-