Class 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 Detail

      • jwkSet

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

      • JWKSetCriterion

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

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object