Class EvidenceConstraint

    • Constructor Detail

      • EvidenceConstraint

        public EvidenceConstraint()
    • Method Detail

      • getType

        public LeafConstraint getType()
        Get the constraint for type.
        The constraint for type.
      • setType

        public void setType​(LeafConstraint constraint)
        Set the constraint for type.
        constraint - The constraint for type.
      • extract

        public static EvidenceConstraint extract​(List<?> list,
                                                 int index,
                                                 String key)
                                          throws ConstraintException
        Create an instance of a subclass of EvidenceConstraint from an object in the given list.
        list - A list that represents an "evidence" array.
        index - The position in the list.
        key - The key that identifies the array. In normal cases, the key is "evidence".
        An instance of a subclass of EvidenceConstraint that represents the element in the "evidence" array.
        ConstraintException - The structure of the object does not conform to the specification (OpenID Connect for Identity Assurance 1.0).