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

The checker is called for each XML signature contained in the XM document. You can get the total and current count of the XML signatures via the methods XmlSignatureChecker.Input.getTotalCountOfSignatures() and XmlSignatureChecker.Input.getCurrentCountOfSignatures().

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks whether the signature document has the expected structure and contains the expected transformations and references.
  • Method Details

    • 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