public abstract class AbstractSignatureReferenceVerifyInputProcessor extends AbstractInputProcessor
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier |
| Modifier and Type | Field and Description |
|---|---|
protected static Boolean |
allowNotSameDocumentReferences |
protected static Boolean |
doNotThrowExceptionForManifests |
protected static Integer |
maximumAllowedReferencesPerManifest |
protected static Integer |
maximumAllowedTransformsPerReference |
| Constructor and Description |
|---|
AbstractSignatureReferenceVerifyInputProcessor(InputProcessorChain inputProcessorChain,
SignatureType signatureType,
InboundSecurityToken inboundSecurityToken,
XMLSecurityProperties securityProperties) |
addAfterProcessor, addBeforeProcessor, getAfterProcessors, getBeforeProcessors, getPhase, getReferenceIDAttribute, getSecurityProperties, setPhaseprotected static final Integer maximumAllowedReferencesPerManifest
protected static final Integer maximumAllowedTransformsPerReference
protected static final Boolean doNotThrowExceptionForManifests
protected static final Boolean allowNotSameDocumentReferences
public AbstractSignatureReferenceVerifyInputProcessor(InputProcessorChain inputProcessorChain, SignatureType signatureType, InboundSecurityToken inboundSecurityToken, XMLSecurityProperties securityProperties) throws XMLSecurityException
XMLSecurityExceptionpublic SignatureType getSignatureType()
public List<ReferenceType> getProcessedReferences()
public InboundSecurityToken getInboundSecurityToken()
public XMLSecEvent processNextHeaderEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessorprocessNextHeaderEvent in interface InputProcessorprocessNextHeaderEvent in class AbstractInputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occurspublic XMLSecEvent processNextEvent(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessorprocessNextEvent in interface InputProcessorprocessNextEvent in class AbstractInputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursprotected abstract void processElementPath(List<QName> elementPath, InputProcessorChain inputProcessorChain, XMLSecEvent xmlSecEvent, ReferenceType referenceType) throws XMLSecurityException
XMLSecurityExceptionprotected List<ReferenceType> resolvesResource(XMLSecStartElement xmlSecStartElement)
public void doFinal(InputProcessorChain inputProcessorChain) throws XMLStreamException, XMLSecurityException
InputProcessordoFinal in interface InputProcessordoFinal in class AbstractInputProcessorXMLStreamException - thrown when a streaming error occursXMLSecurityException - thrown when a Security failure occursprotected AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier getSignatureReferenceVerifier(XMLSecurityProperties securityProperties, InputProcessorChain inputProcessorChain, ReferenceType referenceType, XMLSecStartElement startElement) throws XMLSecurityException
XMLSecurityExceptionprotected void verifyExternalReference(InputProcessorChain inputProcessorChain, InputStream inputStream, ReferenceType referenceType) throws XMLSecurityException, XMLStreamException
protected DigestOutputStream createMessageDigestOutputStream(ReferenceType referenceType, InboundSecurityContext inboundSecurityContext) throws XMLSecurityException
XMLSecurityExceptionprotected Transformer buildTransformerChain(ReferenceType referenceType, OutputStream outputStream, InputProcessorChain inputProcessorChain, AbstractSignatureReferenceVerifyInputProcessor.InternalSignatureReferenceVerifier internalSignatureReferenceVerifier) throws XMLSecurityException
XMLSecurityExceptionprotected void compareDigest(byte[] calculatedDigest,
ReferenceType referenceType)
throws XMLSecurityException
XMLSecurityExceptionCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.