org.apache.xml.security.stax.impl.processor.input
Class XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractInputProcessor
      extended by org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
          extended by org.apache.xml.security.stax.impl.processor.input.XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor
All Implemented Interfaces:
Thread.UncaughtExceptionHandler, InputProcessor
Enclosing class:
XMLDecryptInputProcessor

public class XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor
extends AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor

The DecryptedEventReaderInputProcessor reads the decrypted stream with a StAX reader and forwards the generated XMLEvents


Constructor Summary
XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor(XMLSecurityProperties securityProperties, SecurePart.Modifier encryptionModifier, boolean encryptedHeader, XMLSecStartElement xmlSecStartElement, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType, XMLDecryptInputProcessor decryptInputProcessor, InboundSecurityToken inboundSecurityToken)
           
 
Method Summary
protected  void handleEncryptedElement(InputProcessorChain inputProcessorChain, XMLSecStartElement xmlSecStartElement, InboundSecurityToken inboundSecurityToken, org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
           
 
Methods inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
processNextEvent, processNextHeaderEvent, setDecryptionThread, setXmlStreamReader, uncaughtException
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, doFinal, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor

public XMLDecryptInputProcessor.DecryptedEventReaderInputProcessor(XMLSecurityProperties securityProperties,
                                                                   SecurePart.Modifier encryptionModifier,
                                                                   boolean encryptedHeader,
                                                                   XMLSecStartElement xmlSecStartElement,
                                                                   org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType,
                                                                   XMLDecryptInputProcessor decryptInputProcessor,
                                                                   InboundSecurityToken inboundSecurityToken)
Method Detail

handleEncryptedElement

protected void handleEncryptedElement(InputProcessorChain inputProcessorChain,
                                      XMLSecStartElement xmlSecStartElement,
                                      InboundSecurityToken inboundSecurityToken,
                                      org.apache.xml.security.binding.xmlenc.EncryptedDataType encryptedDataType)
                               throws XMLSecurityException
Specified by:
handleEncryptedElement in class AbstractDecryptInputProcessor.AbstractDecryptedEventReaderInputProcessor
Throws:
XMLSecurityException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.