Class TrustSelfSignedCertificates


  • public class TrustSelfSignedCertificates
    extends java.lang.Object
    This class creates an SSLSocketFactory that trusts all certificates.
    See Also:
    getUnsafeSslSocketFactory()
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.net.ssl.SSLSocketFactory getUnsafeSslSocketFactory()  
      • Methods inherited from class java.lang.Object

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

      • getUnsafeSslSocketFactory

        public static javax.net.ssl.SSLSocketFactory getUnsafeSslSocketFactory()