IT. Expert System.

Android Reference

SSLSocketFactory


javax.net.ssl

Class SSLSocketFactory

    • Constructor Detail

      • SSLSocketFactory

        public SSLSocketFactory()
        Creates a new SSLSocketFactory.
    • Method Detail

      • getDefault

        public static SocketFactory getDefault()
        Returns the default SSLSocketFactory instance. The default is defined by the security property 'ssl.SocketFactory.provider'.
        Returns:
        the default ssl socket factory instance.
      • getDefaultCipherSuites

        public abstract String[] getDefaultCipherSuites()
        Returns the names of the cipher suites that are enabled by default.
        Returns:
        the names of the cipher suites that are enabled by default.
      • getSupportedCipherSuites

        public abstract String[] getSupportedCipherSuites()
        Returns the names of the cipher suites that are supported and could be enabled for an SSL connection.
        Returns:
        the names of the cipher suites that are supported.
      • createSocket

        public abstract Socket createSocket(Socket s,
                          String host,
                          int port,
                          boolean autoClose)
                                     throws IOException
        Creates an SSLSocket over the specified socket that is connected to the specified host at the specified port.
        Parameters:
        s - the socket.
        host - the host.
        port - the port number.
        autoClose - true if socket s should be closed when the created socket is closed, false if the socket s should be left open.
        Returns:
        the creates ssl socket.
        Throws:
        IOException - if creating the socket fails.
        UnknownHostException - if the host is unknown.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 15658 / 248376302. Delta: 0.02430 с