Class XMLEncryptOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
org.apache.xml.security.stax.impl.processor.output.XMLEncryptOutputProcessor
- All Implemented Interfaces:
OutputProcessor
Processor to encrypt XML structures
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor, AbstractEncryptOutputProcessor.CharacterEventGeneratorOutputStream -
Field Summary
Fields inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
action, securityProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef, XMLSecStartElement startElement, String encoding, OutboundSecurityToken keyWrappingToken) Override this method to return a different AbstractInternalEncryptionOutputProcessor instance which will write out the KeyInfo contents in the EncryptedData.voidprocessEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) Methods inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
doFinal, doFinalInternal, getActiveInternalEncryptionOutputProcessor, setActiveInternalEncryptionOutputProcessor, verifyEncryptionPartsMethods inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor
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
-
Constructor Details
-
XMLEncryptOutputProcessor
- Throws:
XMLSecurityException
-
-
Method Details
-
processEvent
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException - Specified by:
processEventin classAbstractEncryptOutputProcessor- Throws:
XMLStreamExceptionXMLSecurityException
-
createInternalEncryptionOutputProcessor
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor createInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef, XMLSecStartElement startElement, String encoding, OutboundSecurityToken keyWrappingToken) throws XMLStreamException, XMLSecurityException Override this method to return a different AbstractInternalEncryptionOutputProcessor instance which will write out the KeyInfo contents in the EncryptedData.
-