org.apache.wss4j.stax.impl.processor.input
Class WSSSignatureReferenceVerifyInputProcessor

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

public class WSSSignatureReferenceVerifyInputProcessor
extends org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor


Field Summary
 
Fields inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
allowNotSameDocumentReferences, doNotThrowExceptionForManifests, maximumAllowedReferencesPerManifest, maximumAllowedTransformsPerReference
 
Constructor Summary
WSSSignatureReferenceVerifyInputProcessor(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.SignatureType signatureType, org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken, org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
           
 
Method Summary
protected  org.apache.xml.security.stax.ext.Transformer buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, OutputStream outputStream, org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier internalSignatureReferenceVerifier)
           
protected  org.apache.wss4j.stax.impl.processor.input.WSSSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier getSignatureReferenceVerifier(org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties, org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType, org.apache.xml.security.stax.ext.stax.XMLSecStartElement startElement)
           
protected  void processElementPath(List<QName> elementPath, org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
           
 org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
           
protected  void verifyExternalReference(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain, InputStream inputStream, org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
           
 
Methods inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
compareDigest, createMessageDigestOutputStream, doFinal, getInboundSecurityToken, getProcessedReferences, getSignatureType, processNextHeaderEvent, resolvesResource
 
Methods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, 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

WSSSignatureReferenceVerifyInputProcessor

public WSSSignatureReferenceVerifyInputProcessor(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
                                                 org.apache.xml.security.binding.xmldsig.SignatureType signatureType,
                                                 org.apache.xml.security.stax.securityToken.InboundSecurityToken inboundSecurityToken,
                                                 org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties)
                                          throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException
Method Detail

verifyExternalReference

protected void verifyExternalReference(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
                                       InputStream inputStream,
                                       org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
                                throws org.apache.xml.security.exceptions.XMLSecurityException,
                                       XMLStreamException
Overrides:
verifyExternalReference in class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
Throws:
org.apache.xml.security.exceptions.XMLSecurityException
XMLStreamException

processNextEvent

public org.apache.xml.security.stax.ext.stax.XMLSecEvent processNextEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain)
                                                                   throws XMLStreamException,
                                                                          org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processNextEvent in interface org.apache.xml.security.stax.ext.InputProcessor
Overrides:
processNextEvent in class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
Throws:
XMLStreamException
org.apache.xml.security.exceptions.XMLSecurityException

processElementPath

protected void processElementPath(List<QName> elementPath,
                                  org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
                                  org.apache.xml.security.stax.ext.stax.XMLSecEvent xmlSecEvent,
                                  org.apache.xml.security.binding.xmldsig.ReferenceType referenceType)
                           throws org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
processElementPath in class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

getSignatureReferenceVerifier

protected org.apache.wss4j.stax.impl.processor.input.WSSSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier getSignatureReferenceVerifier(org.apache.xml.security.stax.ext.XMLSecurityProperties securityProperties,
                                                                                                                                                                org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
                                                                                                                                                                org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
                                                                                                                                                                org.apache.xml.security.stax.ext.stax.XMLSecStartElement startElement)
                                                                                                                                                         throws org.apache.xml.security.exceptions.XMLSecurityException
Overrides:
getSignatureReferenceVerifier in class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

buildTransformerChain

protected org.apache.xml.security.stax.ext.Transformer buildTransformerChain(org.apache.xml.security.binding.xmldsig.ReferenceType referenceType,
                                                                             OutputStream outputStream,
                                                                             org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain,
                                                                             org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier internalSignatureReferenceVerifier)
                                                                      throws org.apache.xml.security.exceptions.XMLSecurityException
Overrides:
buildTransformerChain in class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
Throws:
org.apache.xml.security.exceptions.XMLSecurityException


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.