org.apache.xml.security.stax.impl.processor.output
Class AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractOutputProcessor
org.apache.xml.security.stax.impl.processor.output.AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
- All Implemented Interfaces:
- OutputProcessor
- Enclosing class:
- AbstractEncryptOutputProcessor
public abstract class AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
- extends AbstractOutputProcessor
Processor which handles the effective encryption of the data
| Methods inherited from class org.apache.xml.security.stax.ext.AbstractOutputProcessor |
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, doFinal, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, 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 |
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor
public AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef,
XMLSecStartElement xmlSecStartElement,
String encoding)
throws XMLSecurityException
- Throws:
XMLSecurityException
init
public void init(OutputProcessorChain outputProcessorChain)
throws XMLSecurityException
- Description copied from interface:
OutputProcessor
- Method will be called after setting the properties
- Specified by:
init in interface OutputProcessor- Overrides:
init in class AbstractOutputProcessor
- Throws:
XMLSecurityException
applyTransforms
protected OutputStream applyTransforms(OutputStream outputStream)
throws XMLSecurityException
- Throws:
XMLSecurityException
processEvent
public void processEvent(XMLSecEvent xmlSecEvent,
OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Specified by:
processEvent in class AbstractOutputProcessor
- Throws:
XMLStreamException
XMLSecurityException
processEventInternal
protected void processEventInternal(XMLSecStartElement xmlSecStartElement,
OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Creates the Data structure around the cipher data
- Throws:
XMLStreamException
XMLSecurityException
createKeyInfoStructure
protected abstract void createKeyInfoStructure(OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Throws:
XMLStreamException
XMLSecurityException
doFinalInternal
protected void doFinalInternal(OutputProcessorChain outputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Throws:
XMLStreamException
XMLSecurityException
getEncryptionPartDef
protected EncryptionPartDef getEncryptionPartDef()
setEncryptionPartDef
protected void setEncryptionPartDef(EncryptionPartDef encryptionPartDef)
getXmlSecStartElement
protected XMLSecStartElement getXmlSecStartElement()
setXmlSecStartElement
protected void setXmlSecStartElement(XMLSecStartElement xmlSecStartElement)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.