Package org.opensaml.security.criteria
Class KeyAlgorithmCriterion
java.lang.Object
org.opensaml.security.criteria.KeyAlgorithmCriterion
- All Implemented Interfaces:
Criterion
public final class KeyAlgorithmCriterion extends Object implements Criterion
An implementation of
Criterion
which specifies key algorithm criteria.-
Field Summary
Fields Modifier and Type Field Description private String
keyAlgorithm
Key algorithm type of resolved credentials. -
Constructor Summary
Constructors Constructor Description KeyAlgorithmCriterion(String algorithm)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getKeyAlgorithm()
Get the key algorithm criteria.int
hashCode()
void
setKeyAlgorithm(String algorithm)
Set the key algorithm criteria.String
toString()
-
Field Details
-
keyAlgorithm
Key algorithm type of resolved credentials.
-
-
Constructor Details
-
KeyAlgorithmCriterion
Constructor.- Parameters:
algorithm
- key algorithm
-
-
Method Details
-
getKeyAlgorithm
Get the key algorithm criteria.- Returns:
- returns the keyAlgorithm.
-
setKeyAlgorithm
Set the key algorithm criteria.- Parameters:
algorithm
- The keyAlgorithm to set.
-
toString
-
hashCode
public int hashCode() -
equals
-