org.apache.xml.security.stax.impl.processor.input
Class AbstractSignatureInputHandler

java.lang.Object
  extended by org.apache.xml.security.stax.ext.AbstractInputSecurityHeaderHandler
      extended by 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: 1540770 $ $Date: 2013-11-11 16:50:50 +0000 (Mon, 11 Nov 2013) $
Author:
$Author: coheigea $

Nested Class Summary
 class AbstractSignatureInputHandler.SignatureVerifier
           
 
Constructor Summary
AbstractSignatureInputHandler()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSignatureInputHandler

public AbstractSignatureInputHandler()
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


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