Class AbstractSignatureInputHandler
- java.lang.Object
-
- org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
-
- org.apache.xml.security.stax.impl.processor.input.AbstractSignatureInputHandler
-
- All Implemented Interfaces:
XMLSecurityHeaderHandler
- Direct Known Subclasses:
XMLSignatureInputHandler
public abstract class AbstractSignatureInputHandler extends AbstractInputSecurityHeaderHandler
- Version:
- $Revision: 1757635 $ $Date: 2016-08-25 11:13:42 +0200 (Thu, 25 Aug 2016) $
- Author:
- $Author: coheigea $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractSignatureInputHandler.SignatureVerifier
-
Constructor Summary
Constructors Constructor Description AbstractSignatureInputHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, InboundSecurityToken inboundSecurityToken)
void
handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, Deque<XMLSecEvent> eventQueue, Integer index)
protected abstract AbstractSignatureInputHandler.SignatureVerifier
newSignatureVerifier(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType)
protected Deque<XMLSecEvent>
reparseSignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, Deque<XMLSecEvent> eventDeque, int index)
protected InboundSecurityToken
verifySignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, Deque<XMLSecEvent> eventDeque, int index)
-
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
getElementPath, getResponsibleStartXMLEvent, getResponsibleXMLSecEvents, parseStructure
-
-
-
-
Method Detail
-
handle
public void handle(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, Deque<XMLSecEvent> eventQueue, Integer index) throws XMLSecurityException
- Throws:
XMLSecurityException
-
addSignatureReferenceInputProcessorToChain
protected abstract void addSignatureReferenceInputProcessorToChain(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, InboundSecurityToken inboundSecurityToken) throws XMLSecurityException
- Throws:
XMLSecurityException
-
verifySignedInfo
protected InboundSecurityToken verifySignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, Deque<XMLSecEvent> eventDeque, int index) throws XMLSecurityException
- Throws:
XMLSecurityException
-
reparseSignedInfo
protected Deque<XMLSecEvent> reparseSignedInfo(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, Deque<XMLSecEvent> eventDeque, int index) throws XMLSecurityException
- Throws:
XMLSecurityException
-
newSignatureVerifier
protected abstract AbstractSignatureInputHandler.SignatureVerifier newSignatureVerifier(InputProcessorChain inputProcessorChain, XMLSecurityProperties securityProperties, org.apache.xml.security.binding.xmldsig.SignatureType signatureType) throws XMLSecurityException
- Throws:
XMLSecurityException
-
-