org.opensaml.xml.security.credential.criteria
Class EvaluableKeyAlgorithmCredentialCriteria

java.lang.Object
  extended by org.opensaml.xml.security.credential.criteria.EvaluableKeyAlgorithmCredentialCriteria
All Implemented Interfaces:
EvaluableCredentialCriteria, Criteria, EvaluableCriteria<Credential>

public class EvaluableKeyAlgorithmCredentialCriteria
extends java.lang.Object
implements EvaluableCredentialCriteria

Instance of evaluable credential criteria for evaluating the credential key algorithm.


Constructor Summary
EvaluableKeyAlgorithmCredentialCriteria(KeyAlgorithmCriteria criteria)
          Constructor.
EvaluableKeyAlgorithmCredentialCriteria(java.lang.String newKeyAlgorithm)
          Constructor.
 
Method Summary
 java.lang.Boolean evaluate(Credential target)
          Evaluate the target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluableKeyAlgorithmCredentialCriteria

public EvaluableKeyAlgorithmCredentialCriteria(KeyAlgorithmCriteria criteria)
Constructor.

Parameters:
criteria - the criteria which is the basis for evaluation

EvaluableKeyAlgorithmCredentialCriteria

public EvaluableKeyAlgorithmCredentialCriteria(java.lang.String newKeyAlgorithm)
Constructor.

Parameters:
newKeyAlgorithm - the criteria value which is the basis for evaluation
Method Detail

evaluate

public java.lang.Boolean evaluate(Credential target)
Evaluate the target. The result of evaluation is one of the following values:

Specified by:
evaluate in interface EvaluableCriteria<Credential>
Parameters:
target - the object to be evaluated
Returns:
the result of evaluation


Copyright © 2006-2011 Internet2. All Rights Reserved.