Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找 Android 中证书主机名验证的实际实现(不是接口或抽象类)。
谢谢!
事实证明,Android 应用程序可以使用 JRE 或 Apache HttpClient 的主机名验证。在前一种情况下,验证在 X509TrustManagerImpl.java 中。在后一种情况下,它位于 AbstractVerifier.java