MyX509TrustManager

JeeWx API

org.jeewx.api.core.common

类 MyX509TrustManager

  • java.lang.Object
    • org.jeewx.api.core.common.MyX509TrustManager
  • 所有已实现的接口:
    javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager

    public class MyX509TrustManager
    extends java.lang.Object
    implements javax.net.ssl.X509TrustManager
    • 方法概要

      方法 
      限定符和类型 方法和说明
      void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) 
      void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) 
      java.security.cert.X509Certificate[] getAcceptedIssuers() 
      • 从类继承的方法 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • MyX509TrustManager

        public MyX509TrustManager()
    • 方法详细资料

      • checkClientTrusted

        public void checkClientTrusted(java.security.cert.X509Certificate[] chain,
                              java.lang.String authType)
                                throws java.security.cert.CertificateException
        指定者:
        checkClientTrusted 在接口中 javax.net.ssl.X509TrustManager
        抛出:
        java.security.cert.CertificateException
      • checkServerTrusted

        public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
                              java.lang.String authType)
                                throws java.security.cert.CertificateException
        指定者:
        checkServerTrusted 在接口中 javax.net.ssl.X509TrustManager
        抛出:
        java.security.cert.CertificateException
      • getAcceptedIssuers

        public java.security.cert.X509Certificate[] getAcceptedIssuers()
        指定者:
        getAcceptedIssuers 在接口中 javax.net.ssl.X509TrustManager