org.apache.xml.security.stax.impl.processor.output
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
public class XMLEncryptOutputProcessor
- extends AbstractEncryptOutputProcessor
Processor to encrypt XML structures
- Version:
- $Revision: 1236690 $ $Date: 2012-01-27 14:07:10 +0000 (Fri, 27 Jan 2012) $
- Author:
- $Author: coheigea $
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEncryptOutputProcessor
public XMLEncryptOutputProcessor()
throws XMLSecurityException
- Throws:
XMLSecurityException
processEvent
public void processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Specified by:
processEvent in class AbstractEncryptOutputProcessor
- 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.
- Throws:
XMLStreamException
XMLSecurityException
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.