Package org.opensaml.security.x509.impl
Interface X509CredentialNameEvaluator
-
- All Known Implementing Classes:
BasicX509CredentialNameEvaluator
public interface X509CredentialNameEvaluatorInterface for classes which evaluate anX509Credentialagainst a supplied set of trusted names.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(X509Credential credential, Set<String> trustedNames)Evaluate the specified credential against the specified set of trusted names.
-
-
-
Method Detail
-
evaluate
boolean evaluate(@Nonnull X509Credential credential, @Nullable Set<String> trustedNames) throws SecurityExceptionEvaluate the specified credential against the specified set of trusted names.The types of names supported, and the manner in which they are evaluated, is implementation-specific.
- Parameters:
credential- the X.509 credential to evaluatetrustedNames- trusted names against which the credential will be evaluated- Returns:
- true if the name evaluation succeeds, false otherwise
- Throws:
SecurityException- thrown if there is an error during name evaluation
-
-