CertificateTransparencyInterceptor

OkHttp network interceptor that enforces Certificate Transparency.

Must be added as a network interceptor (not an application interceptor) to have access to the TLS connection details.

Usage:

val client = OkHttpClient.Builder()
.addNetworkInterceptor(CertificateTransparencyInterceptor(config))
.build()

Functions

Link copied to clipboard
open override fun intercept(chain: Interceptor.Chain): Response