public class IDDocument extends Evidence
id_document.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
IDDocument()
The constructor that construct evidence whose type is
"id_document". |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDocument()
Check if this object contains
"document". |
boolean |
containsMethod()
Check if this object contains
"method". |
boolean |
containsTime()
Check if this object contains
"time". |
boolean |
containsVerifier()
Check if this object contains
"verifier". |
static IDDocument |
extract(Map<?,?> map)
Create an
IDDocument instance from the given object. |
Document |
getDocument()
Get the ID document used to perform the ID verification.
|
String |
getMethod()
Get the method used to verify this ID document.
|
String |
getTime()
Get the date when this ID document was verified.
|
Verifier |
getVerifier()
Get the legal entity that performed the identity verification.
|
Document |
removeDocument()
Remove
"document" from this object. |
Provider |
removeMethod()
Remove
"method" from this object. |
String |
removeTime()
Remove
"time" from this object. |
Verifier |
removeVerifier()
Remove
"verifier" from this object. |
IDDocument |
setDocument(Document document)
Set the ID document used to perform the ID verification.
|
IDDocument |
setMethod(String method)
Set the method used to verify this ID document.
|
IDDocument |
setTime(String time)
Set the date when this ID document was verified.
|
IDDocument |
setVerifier(Verifier verifier)
Set the legal entity that performed the identity verification.
|
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 IDDocument()
"id_document".public String getMethod()
public IDDocument setMethod(String method)
method - The method used to verify this ID document.this object.public boolean containsMethod()
"method".true if this object contains "method".public Provider removeMethod()
"method" from this object.public Verifier getVerifier()
public IDDocument setVerifier(Verifier verifier)
verifier - The legal entity that performed the identity verification.this object;public boolean containsVerifier()
"verifier".true if this object contains "verifier".public Verifier removeVerifier()
"verifier" from this object.public String getTime()
public IDDocument setTime(String time)
time - The date when this ID document was verified.this object.public boolean containsTime()
"time".true if this object contains "time".public String removeTime()
"time" from this object.public Document getDocument()
public IDDocument setDocument(Document document)
document - The ID document used to perform the ID verification.this object.public boolean containsDocument()
"document".true if this object contains "document".public Document removeDocument()
"document" from this object.public static IDDocument extract(Map<?,?> map) throws IdentityAssuranceException
IDDocument instance from the given object.map - A map that represents "id_document".IDDocument instance that represents "id_document".IdentityAssuranceException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).Copyright © 2022. All rights reserved.