public class XMLEncryptOutputProcessor extends AbstractEncryptOutputProcessor
AbstractEncryptOutputProcessor.AbstractInternalEncryptionOutputProcessor, AbstractEncryptOutputProcessor.CharacterEventGeneratorOutputStreamaction, 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, verifyEncryptionPartsaddAfterProcessor, addAttributes, addBeforeProcessor, createAttribute, createCharacters, createCharacters, createCharactersAndOutputAsEvent, createCharactersAndOutputAsEvent, createEndElement, createEndElementAndOutputAsEvent, createNamespace, createStartElementAndOutputAsEvent, createStartElementAndOutputAsEvent, getAction, getAfterProcessors, getBeforeProcessors, getPhase, getSecurityProperties, init, outputAsEvent, outputDOMElement, securePartMatches, securePartMatches, setAction, setPhase, setXMLSecurityPropertiespublic XMLEncryptOutputProcessor()
throws XMLSecurityException
XMLSecurityExceptionpublic void processEvent(XMLSecEvent xmlSecEvent, OutputProcessorChain outputProcessorChain) throws XMLStreamException, XMLSecurityException
OutputProcessorprocessEvent in interface OutputProcessorprocessEvent in class AbstractEncryptOutputProcessorxmlSecEvent - 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.