org.apache.camel.component.xmlsecurity.api
Interface XmlSignatureChecker


public interface XmlSignatureChecker

This interface gives the application the possibility to check whether the expected parts are signed.

Only relevant for the XML signature verifier.

See http://www.w3.org/TR/xmldsig-bestpractices/#check-what-is-signed


Nested Class Summary
static interface XmlSignatureChecker.Input
           
 
Method Summary
 void checkBeforeCoreValidation(XmlSignatureChecker.Input input)
          Checks whether the signature document has the expected structure and contains the expected transformations and references.
 

Method Detail

checkBeforeCoreValidation

void checkBeforeCoreValidation(XmlSignatureChecker.Input input)
                               throws Exception
Checks whether the signature document has the expected structure and contains the expected transformations and references. See http://www.w3.org/TR/xmldsig-bestpractices/#check-what-is-signed

Parameters:
input - input parameters
Throws:
Exception - when XML signature does not pass the check


Apache Camel