public class EvidenceConstraint extends BaseConstraint
verified_claims/verification/evidence.| Constructor and Description |
|---|
EvidenceConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static EvidenceConstraint |
extract(List<?> list,
int index,
String key)
Create an instance of a subclass of
EvidenceConstraint from
an object in the given list. |
LeafConstraint |
getType()
Get the constraint for
type. |
void |
setType(LeafConstraint constraint)
Set the constraint for
type. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
public LeafConstraint getType()
type.type.public void setType(LeafConstraint constraint)
type.constraint - The constraint for type.public static EvidenceConstraint extract(List<?> list, int index, String key) throws ConstraintException
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".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).public Map<String,Object> toMap()
BaseConstraintMap instance that represents this object in the way
conforming to the structure defined in 5. Requesting Verified Claims of OpenID Connect for Identity Assurance 1.0.toMap in class BaseConstraintMap instance that represents this object.
If BaseConstraint.exists() returns false or BaseConstraint.isNull()
returns true, this method returns null.Copyright © 2022. All rights reserved.