Package com.authlete.common.assurance
Class EvidenceArray
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<Evidence>
-
- com.authlete.common.assurance.EvidenceArray
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Evidence>
,Collection<Evidence>
,List<Evidence>
,RandomAccess
public class EvidenceArray extends ArrayList<Evidence>
The class that representsverified_claims/verification/evidence
.- Since:
- 2.63
- See Also:
- OpenID Connect for Identity Assurance 1.0, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description EvidenceArray()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EvidenceArray
extract(Map<?,?> map, String key)
Create anEvidenceArray
instance from an object in the given map.-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
extract
public static EvidenceArray extract(Map<?,?> map, String key) throws IdentityAssuranceException
Create anEvidenceArray
instance from an object in the given map.- Parameters:
map
- A map that may contain"evidence"
.key
- The key that identifies the object in the map. In normal cases, the key is"evidence"
.- Returns:
- An
EvidenceArray
instance that represents"evidence"
. If the map does not contain the given key, null is returned. - Throws:
IdentityAssuranceException
- The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).
-
-