Package org.opensaml.security.criteria
Class PublicKeyCriterion
java.lang.Object
org.opensaml.security.criteria.PublicKeyCriterion
- All Implemented Interfaces:
Criterion
public final class PublicKeyCriterion extends Object implements Criterion
An implementation of
Criterion
which specifies public key criteria.-
Field Summary
-
Constructor Summary
Constructors Constructor Description PublicKeyCriterion(PublicKey pubKey)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
PublicKey
getPublicKey()
Get the public key criteria.int
hashCode()
void
setPublicKey(PublicKey key)
Set the public key criteria.String
toString()
-
Field Details
-
publicKey
Specifier of public key associated with resolved credentials.
-
-
Constructor Details
-
PublicKeyCriterion
Constructor.- Parameters:
pubKey
- public key
-
-
Method Details
-
getPublicKey
Get the public key criteria.- Returns:
- Returns the publicKey.
-
setPublicKey
Set the public key criteria.- Parameters:
key
- The publicKey to set.
-
toString
-
hashCode
public int hashCode() -
equals
-