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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks whether the signature document has the expected structure and contains the expected transformations and references.
-
Method Details
-
checkBeforeCoreValidation
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
-