public class AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier extends AbstractInputProcessor
Constructor and Description |
---|
InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties,
InputProcessorChain inputProcessorChain,
org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
XMLSecStartElement startElement) |
Modifier and Type | Method and Description |
---|---|
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() |
XMLSecEvent |
processEvent(InputProcessorChain inputProcessorChain)
Will be called from the framework when the next XMLEvent is requested
|
void |
processEvent(XMLSecEvent xmlSecEvent,
InputProcessorChain inputProcessorChain) |
XMLSecEvent |
processHeaderEvent(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) |
addAfterProcessor, addBeforeProcessor, doFinal, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
public InternalSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, XMLSecStartElement startElement) throws XMLSecurityException
XMLSecurityException
public Transformer buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, OutputStream outputStream, InputProcessorChain inputProcessorChain) throws XMLSecurityException
XMLSecurityException
public XMLSecEvent processHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic XMLSecEvent processEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessor
XMLStreamException
- thrown when a streaming error occursXMLSecurityException
- thrown when a Security failure occurspublic void processEvent(XMLSecEvent xmlSecEvent, InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
public boolean isFinished()
public void setFinished(boolean finished)
public org.apache.xml.security.binding.xmldsig.ReferenceType getReferenceType()
public void setReferenceType(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
public Transformer getTransformer()
public void setTransformer(Transformer transformer)
public DigestOutputStream getDigestOutputStream()
public void setDigestOutputStream(DigestOutputStream digestOutputStream)
public OutputStream getBufferedDigestOutputStream()
public void setBufferedDigestOutputStream(OutputStream bufferedDigestOutputStream)
public XMLSecStartElement getStartElement()
public void setStartElement(XMLSecStartElement startElement)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.