Class MetadataServiceListSignatureValidator
java.lang.Object
se.swedenconnect.opensaml.eidas.metadata.MetadataServiceListSignatureValidator
Utility bean for validating signatures on a
MetadataServiceList
object.- Author:
- Martin Lindström
-
Constructor Summary
ConstructorDescriptionConstructor setting up the validator bean. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateSignature
(MetadataServiceList mdsl, X509Certificate signersCertificate) Validates the signature of the suppliedMetadataServiceList
element using the supplied certificate.
-
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 suppliedMetadataServiceList
element using the supplied certificate.- Parameters:
mdsl
- theMetadataServiceList
signersCertificate
- the certificate of the signer- Throws:
org.opensaml.xmlsec.signature.support.SignatureException
- for validation errors
-