org.apache.xml.security.stax.impl.processor.input
Class AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputProcessor
org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler, InputProcessor
- Direct Known Subclasses:
- XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor
- Enclosing class:
- AbstractDecryptInputProcessor
public abstract class AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
- extends AbstractInputProcessor
- implements Thread.UncaughtExceptionHandler
The DecryptedEventReaderInputProcessor reads the decrypted stream with a StAX reader and
forwards the generated XMLEvents
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
public AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor(XMLSecurityProperties securityProperties,
SecurePart.Modifier encryptionModifier,
boolean encryptedHeader,
XMLSecStartElement xmlSecStartElement,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
AbstractDecryptInputProcessor abstractDecryptInputProcessor,
InboundSecurityToken inboundSecurityToken)
setDecryptionThread
public void setDecryptionThread(Thread decryptionThread)
setXmlStreamReader
public void setXmlStreamReader(XMLStreamReader xmlStreamReader)
processNextHeaderEvent
public XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Description copied from interface:
InputProcessor
- Will be called from the framework when the next security-header XMLEvent is requested
- Specified by:
processNextHeaderEvent in interface InputProcessor- Specified by:
processNextHeaderEvent in class AbstractInputProcessor
- Returns:
- The next XMLSecEvent
- Throws:
XMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
processNextEvent
public XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain)
throws XMLStreamException,
XMLSecurityException
- Description copied from interface:
InputProcessor
- Will be called from the framework when the next XMLEvent is requested
- Specified by:
processNextEvent in interface InputProcessor- Specified by:
processNextEvent in class AbstractInputProcessor
- Returns:
- The next XMLSecEvent
- Throws:
XMLStreamException - thrown when a streaming error occurs
XMLSecurityException - thrown when a Security failure occurs
handleEncryptedElement
protected abstract void handleEncryptedElement(InputProcessorChain inputProcessorChain,
XMLSecStartElement xmlSecStartElement,
InboundSecurityToken inboundSecurityToken,
org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
throws XMLSecurityException
- Throws:
XMLSecurityException
uncaughtException
public void uncaughtException(Thread t,
Throwable e)
- Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.