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
ConstructorsConstructorDescriptionConstructor setting up the validator bean. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateSignature(MetadataServiceList mdsl, X509Certificate signersCertificate) Validates the signature of the suppliedMetadataServiceListelement 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 SignatureException Validates the signature of the suppliedMetadataServiceListelement using the supplied certificate.- Parameters:
mdsl- theMetadataServiceListsignersCertificate- the certificate of the signer- Throws:
SignatureException- for validation errors
-