Class TrustAllSslSocketFactory.DummyTrustManager

  • All Implemented Interfaces:,
    Enclosing class:

    private static class TrustAllSslSocketFactory.DummyTrustManager
    extends java.lang.Object
    Implementation of X509TrustManager that trusts all certificates.
    • Constructor Summary

      Modifier Constructor Description
      private DummyTrustManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkClientTrusted​([] certs, java.lang.String authType)  
      void checkServerTrusted​([] certs, java.lang.String authType)[] getAcceptedIssuers()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DummyTrustManager

        private DummyTrustManager()
    • Method Detail

      • getAcceptedIssuers

        public[] getAcceptedIssuers()
        Specified by:
        getAcceptedIssuers in interface
      • checkClientTrusted

        public void checkClientTrusted​([] certs,
                                       java.lang.String authType)
        Specified by:
        checkClientTrusted in interface
      • checkServerTrusted

        public void checkServerTrusted​([] certs,
                                       java.lang.String authType)
        Specified by:
        checkServerTrusted in interface