Interface XMLSignatureElementValidator

All Known Implementing Classes:
XMLSignatureElementValidatorImpl

public interface XMLSignatureElementValidator
Interface for XML signature element validator
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • validateSignature

      ExtendedXmlSigvalResult validateSignature(Element signature, SignatureData signatureData)
      validates the signature represented by a single signature element
      Parameters:
      signature - signature element
      signatureData - SignatureData signature data extracted for this signature
      Returns:
      ExtendedXmlSigvalResult signature validation result
    • getCertificateValidator

      se.idsec.signservice.security.certificate.CertificateValidator getCertificateValidator()
      Ge the certificate validator. This function is added to support the extended interface of the XML document validator. In this implementation, the certificate validator is specified within the signature element validator using this interface but the XML document validator has a function to get this certificate validator, so it can get it using this function.
      Returns:
      certificate validator