org.apache.camel.component.xmlsecurity.processor
Class XmlVerifierProcessor
java.lang.Object
org.apache.camel.component.xmlsecurity.processor.XmlSignatureProcessor
org.apache.camel.component.xmlsecurity.processor.XmlVerifierProcessor
- All Implemented Interfaces:
- org.apache.camel.Processor
public class XmlVerifierProcessor
- extends XmlSignatureProcessor
XML signature verifier. Assumes that the input XML contains exactly one
Signature element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlVerifierProcessor
public XmlVerifierProcessor(XmlVerifierConfiguration config)
getConfiguration
public XmlVerifierConfiguration getConfiguration()
- Specified by:
getConfiguration
in class XmlSignatureProcessor
process
public void process(org.apache.camel.Exchange exchange)
throws Exception
- Throws:
Exception
verify
protected void verify(InputStream input,
org.apache.camel.Message out)
throws Exception
- Throws:
Exception
handleSignatureValidationFailed
protected boolean handleSignatureValidationFailed(DOMValidateContext valContext,
XMLSignature signature)
throws Exception
- Throws:
Exception
parseInput
protected Document parseInput(InputStream is)
throws XmlSignatureFormatException,
ParserConfigurationException,
IOException
- Throws:
XmlSignatureFormatException
ParserConfigurationException
IOException
Apache Camel