getRevocationStatusFromWeb

fun getRevocationStatusFromWeb(url: URL, connectionProvider: (URL) -> HttpURLConnection = { (it.openConnection() as? HttpURLConnection) ?: throw IllegalArgumentException("Could not open HttpURLConnection to $it") }): Set<String>

Fetches a revocation status list from the web.

This function will fail-closed if it cannot download or parse the revocation list, by throwing an exception.

Return

A set of revoked serial numbers.