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
FieldsFields 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.void
processEvent
(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) Methods inherited from class org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor
doFinal, doFinalInternal, 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, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, processNextEvent, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
-
Field Details
-
LOG
private static final transient org.slf4j.Logger LOG
-
-
Constructor Details
-
XMLEncryptOutputProcessor
- Throws:
XMLSecurityException
-
-
Method Details
-
processEvent
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException - Specified by:
processEvent
in classAbstractEncryptOutputProcessor
- Throws:
XMLStreamException
XMLSecurityException
-
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.
-