org.apache.xml.security.stax.impl.processor.input
Class AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractInputProcessor
      extended by org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier
All Implemented Interfaces:
InputProcessor
Enclosing class:
AbstractSignatureReferenceVerifyInputProcessor

public class AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier
extends AbstractInputProcessor


Constructor Summary
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, XMLSecStartElement startElement)
           
 
Method Summary
 Transformer buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, OutputStream outputStream, InputProcessorChain inputProcessorChain)
           
 OutputStream getBufferedDigestOutputStream()
           
 DigestOutputStream getDigestOutputStream()
           
 org.apache.xml.security.binding.xmldsig.ReferenceType getReferenceType()
           
 XMLSecStartElement getStartElement()
           
 List<QName> getStartElementPath()
           
 Transformer getTransformer()
           
 boolean isFinished()
           
 void processEvent(XMLSecEvent xmlSecEvent, InputProcessorChain inputProcessorChain)
           
 XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain)
          Will be called from the framework when the next XMLEvent is requested
 XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain)
          Will be called from the framework when the next security-header XMLEvent is requested
 void setBufferedDigestOutputStream(OutputStream bufferedDigestOutputStream)
           
 void setDigestOutputStream(DigestOutputStream digestOutputStream)
           
 void setFinished(boolean finished)
           
 void setReferenceType(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
           
 void setStartElement(XMLSecStartElement startElement)
           
 void setTransformer(Transformer transformer)
           
 
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

AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier

public AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties,
                                                                                         InputProcessorChain inputProcessorChain,
                                                                                         org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
                                                                                         XMLSecStartElement startElement)
                                                                                  throws XMLSecurityException
Throws:
XMLSecurityException
Method Detail

buildTransformerChain

public Transformer buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
                                         OutputStream outputStream,
                                         InputProcessorChain inputProcessorChain)
                                  throws XMLSecurityException
Throws:
XMLSecurityException

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

processEvent

public void processEvent(XMLSecEvent xmlSecEvent,
                         InputProcessorChain inputProcessorChain)
                  throws XMLStreamException,
                         XMLSecurityException
Throws:
XMLStreamException
XMLSecurityException

isFinished

public boolean isFinished()

setFinished

public void setFinished(boolean finished)

getReferenceType

public org.apache.xml.security.binding.xmldsig.ReferenceType getReferenceType()

setReferenceType

public void setReferenceType(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)

getTransformer

public Transformer getTransformer()

setTransformer

public void setTransformer(Transformer transformer)

getDigestOutputStream

public DigestOutputStream getDigestOutputStream()

setDigestOutputStream

public void setDigestOutputStream(DigestOutputStream digestOutputStream)

getBufferedDigestOutputStream

public OutputStream getBufferedDigestOutputStream()

setBufferedDigestOutputStream

public void setBufferedDigestOutputStream(OutputStream bufferedDigestOutputStream)

getStartElement

public XMLSecStartElement getStartElement()

setStartElement

public void setStartElement(XMLSecStartElement startElement)

getStartElementPath

public List<QName> getStartElementPath()


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