Class JWKSetCriterion

java.lang.Object
net.shibboleth.oidc.security.jose.criterion.JWKSetCriterion
All Implemented Interfaces:
Criterion

public final class JWKSetCriterion extends Object implements Criterion
An implementation of Criterion which specifies criteria based on the contents of a JWKSet element.
Since:
2.2.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private com.nimbusds.jose.jwk.JWKSet
    The JWKSet which serves as a source of credentials.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JWKSetCriterion(com.nimbusds.jose.jwk.JWKSet newJwkSet)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    com.nimbusds.jose.jwk.JWKSet
    Gets the JWKSet which is the source of credentials.
    int
    void
    setJWKSet(com.nimbusds.jose.jwk.JWKSet newJwkSet)
    Sets the JWKSet which is the source of credentials.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • jwkSet

      @Nullable private com.nimbusds.jose.jwk.JWKSet jwkSet
      The JWKSet which serves as a source of credentials.
  • Constructor Details

    • JWKSetCriterion

      public JWKSetCriterion(@Nullable com.nimbusds.jose.jwk.JWKSet newJwkSet)
      Constructor.
      Parameters:
      newJwkSet - the JWKSet credentials
  • Method Details

    • getJWKSet

      @Nullable public com.nimbusds.jose.jwk.JWKSet getJWKSet()
      Gets the JWKSet which is the source of credentials.
      Returns:
      the JWKSet credentials
    • setJWKSet

      public void setJWKSet(@Nullable com.nimbusds.jose.jwk.JWKSet newJwkSet)
      Sets the JWKSet which is the source of credentials.
      Parameters:
      newJwkSet - the JWKSet to use as a source of credentials
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object