Package org.opensaml.security.criteria
Class KeyLengthCriterion
java.lang.Object
org.opensaml.security.criteria.KeyLengthCriterion
- All Implemented Interfaces:
Criterion
An implementation of
Criterion which specifies key length criteria.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGet the key length.inthashCode()voidsetKeyLength(int length) Set the key length.toString()
-
Field Details
-
keyLength
private int keyLengthKey length of resolved credentials.
-
-
Constructor Details
-
KeyLengthCriterion
public KeyLengthCriterion(int length) Constructor.- Parameters:
length- key length
-
-
Method Details
-
getKeyLength
public int getKeyLength()Get the key length.- Returns:
- Returns the keyLength.
-
setKeyLength
public void setKeyLength(int length) Set the key length.- Parameters:
length- The keyLength to set.
-
toString
-
hashCode
public int hashCode() -
equals
-