public final class UsageCriterion
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Criterion
Criterion which specifies criteria pertaining
usage of the resolved credential.| Modifier and Type | Field and Description |
|---|---|
private UsageType |
credUsage
Key usage type of resolved credentials.
|
| Constructor and Description |
|---|
UsageCriterion(UsageType usage)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
UsageType |
getUsage()
Get the key usage criteria.
|
int |
hashCode() |
void |
setUsage(UsageType usage)
Set the key usage criteria.
|
java.lang.String |
toString() |
private UsageType credUsage
public UsageCriterion(@Nullable
UsageType usage)
usage - the usage for which a credential is intended@Nonnull public UsageType getUsage()
public void setUsage(@Nullable
UsageType usage)
usage - The usage to set.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object