public class XMLEncryptOutputProcessor extends AbstractEncryptOutputProcessor
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor, AbstractEncryptOutputProcessor.CharacterEventGeneratorOutputStream
action, securityProperties
Constructor and Description |
---|
XMLEncryptOutputProcessor() |
Modifier and Type | Method and Description |
---|---|
protected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor |
createInternalEncryptionOutputProcessor(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)
Will be called from the framework for every XMLEvent
|
doFinal, doFinalInternal, getActiveInternalEncryptionOutputProcessor, setActiveInternalEncryptionOutputProcessor, verifyEncryptionParts
addAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityProperties
public XMLEncryptOutputProcessor() throws XMLSecurityException
XMLSecurityException
public void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessor
processEvent
in interface OutputProcessor
processEvent
in class AbstractEncryptOutputProcessor
xmlSecEvent
- The next XMLEvent to processXMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occursprotected AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor createInternalEncryptionOutputProcessor(EncryptionPartDef encryptionPartDef, XMLSecStartElement startElement, String encoding, OutboundSecurityToken keyWrappingToken) throws XMLStreamException, XMLSecurityException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.