IEI服务 v2.18.01版本的 MD5 值为:9b31b0786e55bfdb6c19ae7eaf2e775b
以下内容为反编译后的 CustomTrustMgr.java 源代码,内容仅作参考
package com.waveinfo.www.inspure;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import javax.net.ssl.X509TrustManager;
public class CustomTrustMgr implements X509TrustManager {
@Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
}
@Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
}
@Override
public X509Certificate[] getAcceptedIssuers() {
return new X509Certificate[0];
}
}