public class Verification extends LinkedHashMap<String,Object>
verified_claims/verification.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Verification() |
| Modifier and Type | Method and Description |
|---|---|
Verification |
addEvidence(Evidence evidence)
Add the evidence the OP used to verify the user's identity.
|
boolean |
containsEvidence()
Check if this object contains
"evidence". |
boolean |
containsTime()
Check if this object contains
"time". |
boolean |
containsTrustFramework()
Check if this object contains
"trust_framework". |
boolean |
containsVerificationProcess()
Check if this object contains
"verification_process". |
static Verification |
extract(Map<?,?> map,
String key)
Create a
Verification instance from an object in the given map. |
EvidenceArray |
getEvidence()
Get the evidence the OP used to verify the user's identity.
|
String |
getTime()
Get the date and time when identity verification took place.
|
String |
getTrustFramework()
Get the trust framework governing the identity verification process
and the identity assurance level of the OP.
|
String |
getVerificationProcess()
Get the identity verification process.
|
EvidenceArray |
removeEvidence()
Remove
"evidence" from this object. |
String |
removeTime()
Remove
"time" from this object. |
String |
removeTrustFramework()
Remove
"trust_framework" from this object. |
String |
removeVerificationProcess()
Remove
"verification_process" from this object. |
Verification |
setEvidence(EvidenceArray evidence)
Set the evidence the OP used to verify the user's identity.
|
Verification |
setTime(String time)
Set the date and time when identity verification took place.
|
Verification |
setTrustFramework(String framework)
Set the trust framework governing the identity verification process
and the identity assurance level of the OP.
|
Verification |
setVerificationProcess(String process)
Set the identity verification process.
|
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 getTrustFramework()
public Verification setTrustFramework(String framework)
framework - The trust framework.this object.public boolean containsTrustFramework()
"trust_framework".true if this object contains "trust_framework".public String removeTrustFramework()
"trust_framework" from this object.public String getTime()
public Verification setTime(String time)
time - The date and time when identity verification took place.this object.public boolean containsTime()
"time".true if this object contains "time".public String removeTime()
"time" from this object.public String getVerificationProcess()
public Verification setVerificationProcess(String process)
process - The identity verification process.this object.public boolean containsVerificationProcess()
"verification_process".true if this object contains "verification_process".public String removeVerificationProcess()
"verification_process" from this object.public EvidenceArray getEvidence()
public Verification setEvidence(EvidenceArray evidence)
evidence - The evidence the OP used to verify the user's identity.this object.public boolean containsEvidence()
"evidence".true if this object contains "evidence".public EvidenceArray removeEvidence()
"evidence" from this object.public Verification addEvidence(Evidence evidence)
evidence - The evidence the OP used to verify the user's identity.this object.public static Verification extract(Map<?,?> map, String key) throws IdentityAssuranceException
Verification instance from an object in the given map.map - A map that may contain "verification".key - The key that identifies the object in the map. In normal cases,
the key is "verification".Verification instance that represents "verification".
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 © 2020. All rights reserved.