Add checkServerTrusted with OCSP and TlsData parameters to RootTrustManager
The default TrustManager returned on the platform is not
conscrypt.TrustManagerImpl, but RootTrustManager which relies on
NetworkSecurityTrustManager. Add checkServerTrusted for these
intermediate TrustManagers, to ensure that X509TrustManagerExtensions
can use this method.
Bug: 376139811
Test: atest CtsNetSecConfigCertificateTransparencyTestCases
Flag: android.security.certificate_transparency_configuration
Change-Id: Ie89fd855857b0ff425df4dc04c5789041bd29b54
2 files changed