org.opensaml.xml.security.x509
Interface X509CredentialNameEvaluator

All Known Implementing Classes:
BasicX509CredentialNameEvaluator

public interface X509CredentialNameEvaluator

Interface for classes which evaluate an X509Credential against a supplied set of trusted names.


Method Summary
 boolean evaluate(X509Credential credential, Set<String> trustedNames)
          Evaluate the specified credential against the specified set of trusted names.
 

Method Detail

evaluate

boolean evaluate(X509Credential credential,
                 Set<String> trustedNames)
                 throws SecurityException
Evaluate 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 evaluate
trustedNames - 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


Copyright © 1999-2013. All Rights Reserved.