Interface XMLSignatureValidator

All Superinterfaces:
SignatureValidator<Document>
All Known Implementing Classes:
DefaultXMLSignatureValidator

public interface XMLSignatureValidator extends SignatureValidator<Document>
Specialization of the SignatureValidator for validation of XML signatures.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • validate

      List<SignatureValidationResult> validate(Document document, XMLSignatureLocation signatureLocation) throws SignatureException
      Validates the signature(s) of supplied document.

      If the signatureLocation parameter is non null only that signature of the document will be validated, even if there are more signatures.

      Parameters:
      document - the document to validate
      signatureLocation - tells where the signature can be found
      Returns:
      a validation result containing the details from a signature validation
      Throws:
      SignatureException - for errors during the validation process (pure signature validation errors are reported in the returned result)