ForbiddenCertificatesHostnameVerifier
class ForbiddenCertificatesHostnameVerifier(delegate: HostnameVerifier, forbiddenSpkiSha256s: Set<ByteString> = CVE_2026_111943) : HostnameVerifier
Rejects a TLS session whose server presented a certificate on a denylist of SPKI SHA-256 hashes.
An app can't patch Android's trusted roots, so this refuses certificates that chain to a still-trusted root but are known to be compromised. It runs during the handshake, before any request bytes are sent, which an interceptor can't do.