Class AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputProcessor
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
ConstructorsConstructorDescriptionInternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, XMLSecStartElement startElement) -
Method Summary
Modifier and TypeMethodDescriptionbuildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, OutputStream outputStream, InputProcessorChain inputProcessorChain) org.apache.xml.security.binding.xmldsig.ReferenceTypebooleanvoidprocessEvent(XMLSecEvent xmlSecEvent, InputProcessorChain inputProcessorChain) processNextEvent(InputProcessorChain inputProcessorChain) Will be called from the framework when the next XMLEvent is requestedprocessNextHeaderEvent(InputProcessorChain inputProcessorChain) Will be called from the framework when the next security-header XMLEvent is requestedvoidsetBufferedDigestOutputStream(OutputStream bufferedDigestOutputStream) voidsetDigestOutputStream(DigestOutputStream digestOutputStream) voidsetFinished(boolean finished) voidsetReferenceType(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType) voidsetStartElement(XMLSecStartElement startElement) voidsetTransformer(Transformer transformer) Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, doFinal, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
-
Constructor Details
-
InternalSignatureReferenceVerifier
public InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, XMLSecStartElement startElement) throws XMLSecurityException - Throws:
XMLSecurityException
-
-
Method Details
-
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:InputProcessorWill be called from the framework when the next security-header XMLEvent is requested- Specified by:
processNextHeaderEventin interfaceInputProcessor- Specified by:
processNextHeaderEventin classAbstractInputProcessor- Returns:
- The next XMLSecEvent
- Throws:
XMLStreamException- thrown when a streaming error occursXMLSecurityException- thrown when a Security failure occurs
-
processNextEvent
public XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException Description copied from interface:InputProcessorWill be called from the framework when the next XMLEvent is requested- Specified by:
processNextEventin interfaceInputProcessor- Specified by:
processNextEventin classAbstractInputProcessor- Returns:
- The next XMLSecEvent
- Throws:
XMLStreamException- thrown when a streaming error occursXMLSecurityException- thrown when a Security failure occurs
-
processEvent
public void processEvent(XMLSecEvent xmlSecEvent, InputProcessorChain inputProcessorChain) 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
-
setTransformer
-
getDigestOutputStream
-
setDigestOutputStream
-
getBufferedDigestOutputStream
-
setBufferedDigestOutputStream
-
getStartElement
-
setStartElement
-
getStartElementPath
-