How do I validate an android.net.http.SslCertificate with an X509TrustManager?

前端 未结 1 527
孤城傲影
孤城傲影 2021-01-02 01:11

Android\'s WebViewClient calls onReceivedSslError when it encounters an untrusted cert. However, the SslError object I receive in that

1条回答
  •  Happy的楠姐
    2021-01-02 01:39

    After a long wait it seems that a method called getX509Certificate(): java.security.cert.X509Certificate has been added to SslCertificate after my feature request as issue 36984840.

    0 讨论(0)
提交回复
热议问题