首页>代码>微信小程序开发实现模板消息提醒简单实例>/WeiXinMsg/src/main/java/util/MyX509TrustManager.java
package util;
  
  
import java.security.cert.CertificateException;  
import java.security.cert.X509Certificate;  
  
import javax.net.ssl.X509TrustManager;  
  
public class MyX509TrustManager implements X509TrustManager {  
  
    public void checkClientTrusted(X509Certificate[] chain, String authType)  
            throws CertificateException {  
    }  
  
    public void checkServerTrusted(X509Certificate[] chain, String authType)  
            throws CertificateException {  
    }  
  
    public X509Certificate[] getAcceptedIssuers() {  
        return null;  
    }  
}  
最近下载更多
朤朤朤朤朤朤  LV3 4月14日
ewan007  LV29 2023年8月24日
adminadminsqwqe  LV7 2023年8月17日
dzlwindy  LV8 2023年7月11日
13043860zj  LV16 2023年4月29日
wanglinddad  LV54 2022年5月16日
dongzhan  LV12 2021年12月15日
qq1453363097  LV13 2021年10月13日
jinjin1231111  LV4 2021年10月8日
yyf507  LV9 2021年8月10日
最近浏览更多
solocare  LV4 前天
朤朤朤朤朤朤  LV3 4月14日
zhy1989wz  LV6 2023年10月21日
adminadminsqwqe  LV7 2023年8月17日
溪若白  LV1 2023年7月13日
dzlwindy  LV8 2023年7月11日
ss_wucue 2023年7月11日
暂无贡献等级
ljt289917726  LV3 2023年6月13日
13043860zj  LV16 2023年4月29日
Java开发工程师_初心  LV1 2023年2月12日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友