content: //package com.sixbugs.bujuan.imageloader;
  //
  //import android.content.Context;
  //
  //import androidx.annotation.NonNull;
  //
  //import com.bumptech.glide.Glide;
  //import com.bumptech.glide.Registry;
  //import com.bumptech.glide.annotation.GlideModule;
  //import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader;
  //import com.bumptech.glide.load.model.GlideUrl;
  //import com.bumptech.glide.module.AppGlideModule;
  //import com.sixbugs.bujuan.utils.HttpsUtils;
  //
  //import java.io.InputStream;
  //
  //import okhttp3.OkHttpClient;
  //
  ///**
  // * Glide 加载 https 图片忽略证书
  // */
  //@GlideModule
  //public class OkHttpGlideModule extends AppGlideModule {
  //    @Override
  //    public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry) {
  //        super.registerComponents(context, glide, registry);
  //        HttpsUtils.SSLParams sslParams = HttpsUtils.getSslSocketFactory(null, null, null);
  //        OkHttpClient mHttpClient = new OkHttpClient().newBuilder()
  //                .sslSocketFactory(sslParams.sSLSocketFactory, sslParams.trustManager)
  //                .build();
  //        registry.replace(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory(mHttpClient));
  //    }
  //}
  