Class/Object

com.mle.android.http

MySslSocketFactory

Related Docs: object MySslSocketFactory | package http

Permalink

class MySslSocketFactory extends SSLSocketFactory

A socket factory that trusts all certificates.

Useful for building client applications that should work with servers that use self-signed certificates.

See also

http://stackoverflow.com/questions/11573108/self-signed-certificate-and-loopj-for-android

Linear Supertypes
SSLSocketFactory, LayeredSocketFactory, SocketFactory, LayeredSchemeSocketFactory, SchemeLayeredSocketFactory, SchemeSocketFactory, LayeredConnectionSocketFactory, ConnectionSocketFactory, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MySslSocketFactory
  2. SSLSocketFactory
  3. LayeredSocketFactory
  4. SocketFactory
  5. LayeredSchemeSocketFactory
  6. SchemeLayeredSocketFactory
  7. SchemeSocketFactory
  8. LayeredConnectionSocketFactory
  9. ConnectionSocketFactory
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MySslSocketFactory(trust: KeyStore)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def connectSocket(arg0: Int, arg1: Socket, arg2: HttpHost, arg3: InetSocketAddress, arg4: InetSocketAddress, arg5: HttpContext): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → ConnectionSocketFactory
    Annotations
    @throws( classOf[java.io.IOException] )
  7. def connectSocket(arg0: Socket, arg1: String, arg2: Int, arg3: InetAddress, arg4: Int, arg5: HttpParams): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → SocketFactory
    Annotations
    @throws( ... ) @throws( ... ) @throws( classOf[java.io.IOException] )
  8. def connectSocket(arg0: Socket, arg1: InetSocketAddress, arg2: InetSocketAddress, arg3: HttpParams): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → SchemeSocketFactory
    Annotations
    @throws( ... ) @throws( ... ) @throws( classOf[java.io.IOException] )
  9. def createLayeredSocket(arg0: Socket, arg1: String, arg2: Int, arg3: HttpContext): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → LayeredConnectionSocketFactory
    Annotations
    @throws( classOf[java.io.IOException] )
  10. def createLayeredSocket(arg0: Socket, arg1: String, arg2: Int, arg3: Boolean): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → LayeredSchemeSocketFactory
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  11. def createLayeredSocket(arg0: Socket, arg1: String, arg2: Int, arg3: HttpParams): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → SchemeLayeredSocketFactory
    Annotations
    @throws( ... ) @throws( classOf[java.io.IOException] )
  12. def createSocket(): Socket

    Permalink
    Definition Classes
    MySslSocketFactory → SSLSocketFactory → SocketFactory
  13. def createSocket(socket: Socket, host: String, port: Int, autoClose: Boolean): Socket

    Permalink
    Definition Classes
    MySslSocketFactory → SSLSocketFactory → LayeredSocketFactory
  14. def createSocket(arg0: HttpContext): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → ConnectionSocketFactory
    Annotations
    @throws( classOf[java.io.IOException] )
  15. def createSocket(arg0: HttpParams): Socket

    Permalink
    Definition Classes
    SSLSocketFactory → SchemeSocketFactory
    Annotations
    @throws( classOf[java.io.IOException] )
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getHostnameVerifier(): X509HostnameVerifier

    Permalink
    Definition Classes
    SSLSocketFactory
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isSecure(arg0: Socket): Boolean

    Permalink
    Definition Classes
    SSLSocketFactory → SocketFactory → SchemeSocketFactory
    Annotations
    @throws( ... )
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def prepareSocket(arg0: SSLSocket): Unit

    Permalink
    Attributes
    protected[cz.msebera.android.httpclient.conn.ssl]
    Definition Classes
    SSLSocketFactory
    Annotations
    @throws( classOf[java.io.IOException] )
  28. def setHostnameVerifier(arg0: X509HostnameVerifier): Unit

    Permalink
    Definition Classes
    SSLSocketFactory
  29. val sslContext: SSLContext

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SSLSocketFactory

Inherited from LayeredSocketFactory

Inherited from SocketFactory

Inherited from LayeredSchemeSocketFactory

Inherited from SchemeLayeredSocketFactory

Inherited from SchemeSocketFactory

Inherited from LayeredConnectionSocketFactory

Inherited from ConnectionSocketFactory

Inherited from AnyRef

Inherited from Any

Ungrouped