Class WSSSignatureReferenceVerifyInputProcessor
java.lang.Object
org.apache.xml.security.stax.ext.AbstractInputProcessor
org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier -
Field Summary
Fields inherited from class org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor
allowNotSameDocumentReferences, doNotThrowExceptionForManifests, maximumAllowedReferencesPerManifest, maximumAllowedTransformsPerReference -
Constructor Summary
ConstructorsConstructorDescriptionWSSSignatureReferenceVerifyInputProcessor(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
Modifier and TypeMethodDescriptionprotected org.apache.xml.security.stax.ext.TransformerbuildTransformerChain(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.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifiergetSignatureReferenceVerifier(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 voidprocessElementPath(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.XMLSecEventprocessEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain) protected voidverifyExternalReference(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, processHeaderEvent, resolvesResourceMethods inherited from class org.apache.xml.security.stax.ext.AbstractInputProcessor
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhase
-
Constructor Details
-
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 Details
-
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:
verifyExternalReferencein classorg.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor- Throws:
org.apache.xml.security.exceptions.XMLSecurityExceptionXMLStreamException
-
processEvent
public org.apache.xml.security.stax.ext.stax.XMLSecEvent processEvent(org.apache.xml.security.stax.ext.InputProcessorChain inputProcessorChain) throws XMLStreamException, org.apache.xml.security.exceptions.XMLSecurityException - Specified by:
processEventin interfaceorg.apache.xml.security.stax.ext.InputProcessor- Overrides:
processEventin classorg.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor- Throws:
XMLStreamExceptionorg.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:
processElementPathin classorg.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getSignatureReferenceVerifier
protected org.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor.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:
getSignatureReferenceVerifierin classorg.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:
buildTransformerChainin classorg.apache.xml.security.stax.impl.processor.input.AbstractSignatureReferenceVerifyInputProcessor- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-