public class Issuer extends LinkedHashMap<String,Object>
id_document/document/issuer.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Issuer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCountry()
Check if this object contains
"country". |
boolean |
containsName()
Check if this object contains
"name". |
static Issuer |
extract(Map<?,?> map,
String key)
Create an
Issuer instance from an object in the given map. |
String |
getCountry()
Get the country or organization that issued the document.
|
String |
getName()
Get the name of the issuer.
|
String |
removeCountry()
Remove
"country" from this object. |
String |
removeName()
Remove
"name" from this object. |
Issuer |
setCountry(String country)
Set the country or organization that issued the document.
|
Issuer |
setName(String name)
Set the name of the issuer.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic String getName()
public Issuer setName(String name)
name - The name of the issuer.this object.public boolean containsName()
"name".true if this object contains "name".public String removeName()
"name" from this object.public String getCountry()
public Issuer setCountry(String country)
country - The country or organization that issued the document.this object.public boolean containsCountry()
"country".true if this object contains "country".public String removeCountry()
"country" from this object.public static Issuer extract(Map<?,?> map, String key) throws IdentityAssuranceException
Issuer 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".Issuer instance that represents "issuer".
If the map does not contain the given key, null is returned.IdentityAssuranceException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).Copyright © 2022. All rights reserved.