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
XML signature verifier. Assumes that the input XML contains exactly one Signature element.
-
Field Summary
Fields inherited from class org.apache.camel.component.xmlsecurity.processor.XmlSignatureProcessor
context -
Constructor Summary
ConstructorsConstructorDescriptionXmlVerifierProcessor(org.apache.camel.CamelContext context, XmlVerifierConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhandleSignatureValidationFailed(DOMValidateContext valContext, XMLSignature signature) protected DocumentparseInput(InputStream is, org.apache.camel.Message message) voidprocess(org.apache.camel.Exchange exchange) protected voidverify(InputStream input, org.apache.camel.Message out) Methods inherited from class org.apache.camel.component.xmlsecurity.processor.XmlSignatureProcessor
clearMessageHeaders, getCamelContext, getSchema, getSchemaResourceUri, setCryptoContextProperties
-
Constructor Details
-
XmlVerifierProcessor
-
-
Method Details
-
getConfiguration
- Specified by:
getConfigurationin classXmlSignatureProcessor
-
process
- Throws:
Exception
-
verify
- Throws:
Exception
-
handleSignatureValidationFailed
protected boolean handleSignatureValidationFailed(DOMValidateContext valContext, XMLSignature signature) throws Exception - Throws:
Exception
-
parseInput
- Throws:
Exception
-