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()
andXmlSignatureChecker.Input.getCurrentCountOfSignatures()
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XmlSignatureChecker.Input
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-