public class IssuerConstraint extends BaseConstraint
id_document/document/issuer.| Constructor and Description |
|---|
IssuerConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static IssuerConstraint |
extract(Map<?,?> map,
String key)
Create an
IssuerConstraint instance from an object in the given map. |
LeafConstraint |
getCountry()
Get the constraint for
country. |
LeafConstraint |
getName()
Get the constraint for
name. |
void |
setCountry(LeafConstraint constraint)
Set the constraint for
country. |
void |
setName(LeafConstraint constraint)
Set the constraint for
name. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
public LeafConstraint getName()
name.name.public void setName(LeafConstraint constraint)
name.constraint - The constraint for name.public LeafConstraint getCountry()
country.country.public void setCountry(LeafConstraint constraint)
country.constraint - The constraint for country.public static IssuerConstraint extract(Map<?,?> map, String key) throws ConstraintException
IssuerConstraint instance from an object in the given map.map - A map that may contain "issuer".key - The key that identifies the object in the map. In normal cases,
the key is "issuer".IssuerConstraint instance that represents
"issuer". Even if the map does not contain the given
key, an instance of IssuerConstraint 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 © 2021. All rights reserved.