Class EvidenceConstraint

    • Constructor Detail

      • EvidenceConstraint

        public EvidenceConstraint()
    • Method Detail

      • getType

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

        public void setType​(LeafConstraint constraint)
        Set the constraint for type.
        Parameters:
        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.
        Parameters:
        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".
        Returns:
        An instance of a subclass of EvidenceConstraint that represents the element in the "evidence" array.
        Throws:
        ConstraintException - The structure of the object does not conform to the specification (OpenID Connect for Identity Assurance 1.0).