Package org.opensaml.xmlsec.keyinfo
Class KeyInfoCriterion
- java.lang.Object
-
- org.opensaml.xmlsec.keyinfo.KeyInfoCriterion
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.resolver.Criterion
public final class KeyInfoCriterion extends Object implements net.shibboleth.utilities.java.support.resolver.Criterion
An implementation ofCriterionwhich specifies criteria based on the contents of aKeyInfoelement.
-
-
Constructor Summary
Constructors Constructor Description KeyInfoCriterion(KeyInfo newKeyInfo)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)KeyInfogetKeyInfo()Gets the KeyInfo which is the source of credential criteria.inthashCode()voidsetKeyInfo(KeyInfo newKeyInfo)Sets the KeyInfo which is the source of credential criteria.StringtoString()
-
-
-
Field Detail
-
keyInfo
private KeyInfo keyInfo
The KeyInfo which serves as the source for credential criteria.
-
-
Constructor Detail
-
KeyInfoCriterion
public KeyInfoCriterion(@Nullable KeyInfo newKeyInfo)Constructor.- Parameters:
newKeyInfo- the KeyInfo credential criteria to use
-
-
Method Detail
-
getKeyInfo
@Nullable public KeyInfo getKeyInfo()
Gets the KeyInfo which is the source of credential criteria.- Returns:
- the KeyInfo credential criteria
-
setKeyInfo
public void setKeyInfo(@Nullable KeyInfo newKeyInfo)Sets the KeyInfo which is the source of credential criteria.- Parameters:
newKeyInfo- the KeyInfo to use as credential criteria
-
-