Class JOSEObjectCriterion

  • All Implemented Interfaces:
    Criterion

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

      • joseObject

        @Nullable
        private com.nimbusds.jose.JOSEObject joseObject
        The JOSEObject which serves as the source for credential criteria.
    • Constructor Detail

      • JOSEObjectCriterion

        public JOSEObjectCriterion​(@Nullable
                                   com.nimbusds.jose.JOSEObject newJOSEObject)
        Constructor.
        Parameters:
        newJOSEObject - the JOSEObject credential criteria to use
    • Method Detail

      • getJOSEObject

        @Nullable
        public com.nimbusds.jose.JOSEObject getJOSEObject()
        Gets the JOSEObject which is the source of credential criteria.
        Returns:
        the JOSEObject credential criteria
      • setJOSEObject

        public void setJOSEObject​(@Nullable
                                  com.nimbusds.jose.JOSEObject newJOSEObject)
        Sets the JOSEObject which is the source of credential criteria.
        Parameters:
        newJOSEObject - the JOSEObject to use as credential criteria
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object