Class MetadataServiceListSignatureValidator

java.lang.Object
se.swedenconnect.opensaml.eidas.metadata.MetadataServiceListSignatureValidator

public class MetadataServiceListSignatureValidator extends Object
Utility bean for validating signatures on a MetadataServiceList object.
Author:
Martin Lindström
  • Constructor Details

    • MetadataServiceListSignatureValidator

      public MetadataServiceListSignatureValidator()
      Constructor setting up the validator bean.
  • Method Details

    • validateSignature

      public void validateSignature(MetadataServiceList mdsl, X509Certificate signersCertificate) throws org.opensaml.xmlsec.signature.support.SignatureException
      Validates the signature of the supplied MetadataServiceList element using the supplied certificate.
      Parameters:
      mdsl - the MetadataServiceList
      signersCertificate - the certificate of the signer
      Throws:
      org.opensaml.xmlsec.signature.support.SignatureException - for validation errors