top.jfunc.http.ssl.DefaultTrustManager2 Maven / Gradle / Ivy
package top.jfunc.http.ssl;
import java.security.cert.X509Certificate;
/**
* 防止OKHttp3的空指针
* @author xiongshiyan
*/
public class DefaultTrustManager2 extends DefaultTrustManager {
@Override
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[0];
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy