closestToRoot
fun List<X509Certificate>.closestToRoot(predicate: (X509Certificate) -> Boolean): ERROR CLASS: Unresolved name: last(source)
Returns the certificate matching the predicate that is closes to the root. Can be the root itself.
Throws
if no match is found