过去几天我一直在努力尝试在Android中实现OCSP验证。到目前为止,在iOS中实现起来很容易,但对于Android,我遇到的每一条信息都行不通。我一直在使用我客户的API端点和thiswebsite运行证书吊销测试,到目前为止,我还没有幸运地在我的Android应用程序中检测到吊销的证书。我正在使用OKHTTPClient。这是我验证证书撤销的方法publicvoidcheckServerTrusted(X509Certificate[]chain,StringauthType)throwsCertificateException{assert(chain!=null);if(ch