Interface SignatureValidationProvider
-
@ThreadSafe public interface SignatureValidationProviderInterface for a provider component that cryptographically validates an XML SignatureSignatureusing a candidate validationCredential.Implementations must be thread-safe.
Instances of this classes are usually used via the
SignatureValidatorservice class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(Signature signature, org.opensaml.security.credential.Credential validationCredential)Validate the given XML Signature using the given candidate validation Credential.
-
-
-
Method Detail
-
validate
void validate(@Nonnull Signature signature, @Nonnull org.opensaml.security.credential.Credential validationCredential) throws SignatureExceptionValidate the given XML Signature using the given candidate validation Credential.- Parameters:
signature- the XMLSignature to validatevalidationCredential- the candidate validation Credential- Throws:
SignatureException- if the signature does not validate using the candiate Credential, or if there is otherwise an error during the validation operation
-
-