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 Summary
Modifier and TypeMethodDescriptionse.idsec.signservice.security.certificate.CertificateValidator
Ge the certificate validator.validateSignature
(Element signature, SignatureData signatureData) validates the signature represented by a single signature element
-
Method Details
-
validateSignature
validates the signature represented by a single signature element- Parameters:
signature
- signature elementsignatureData
-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
-