public class VerifierConstraint extends BaseConstraint
id_document/verifier.| Constructor and Description |
|---|
VerifierConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static VerifierConstraint |
extract(Map<?,?> map,
String key)
Create a
VerifierConstraint instance from an object in the given map. |
LeafConstraint |
getOrganization()
Get the constraint for
organization. |
LeafConstraint |
getTxn()
Get the constraint for
txn. |
void |
setOrganization(LeafConstraint constraint)
Set the constraint for
organization. |
void |
setTxn(LeafConstraint constraint)
Set the constraint for
txn. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
public LeafConstraint getOrganization()
organization.organization.public void setOrganization(LeafConstraint constraint)
organization.constraint - The constraint for organization.public LeafConstraint getTxn()
txn.txn.public void setTxn(LeafConstraint constraint)
txn.constraint - The constraint for txn.public static VerifierConstraint extract(Map<?,?> map, String key) throws ConstraintException
VerifierConstraint instance from an object in the given map.map - A map that may contain "verifier".key - The key that identifies the object in the map. In normal cases,
the key is "verifier".VerifierConstraint instance that represents
"verifier". Even if the map does not contain the given
key, an instance of VerifierConstraint is returned.ConstraintException - The structure of the map 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.