Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.net.ssl.provider
Class SSLServerSocketFactory  view SSLServerSocketFactory download SSLServerSocketFactory.java

java.lang.Object
  extended byjavax.net.ServerSocketFactory
      extended byjavax.net.ssl.SSLServerSocketFactory
          extended bygnu.javax.net.ssl.provider.SSLServerSocketFactory

class SSLServerSocketFactory
extends javax.net.ssl.SSLServerSocketFactory


Field Summary
private  javax.net.ssl.X509KeyManager keyManager
           
private  java.security.SecureRandom random
           
private  SessionContext sessions
           
private  gnu.javax.net.ssl.SRPTrustManager srpTrustManager
           
private  javax.net.ssl.X509TrustManager trustManager
           
 
Fields inherited from class javax.net.ssl.SSLServerSocketFactory
 
Constructor Summary
(package private) SSLServerSocketFactory(javax.net.ssl.X509TrustManager trustManager, gnu.javax.net.ssl.SRPTrustManager srpTrustManager, javax.net.ssl.X509KeyManager keyManager, java.security.SecureRandom random, SessionContext sessions)
           
 
Method Summary
 java.net.ServerSocket createServerSocket()
          Create an unbound server socket.
 java.net.ServerSocket createServerSocket(int port)
          Create a server socket bound to the given port.
 java.net.ServerSocket createServerSocket(int port, int backlog)
           
 java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress addr)
           
 java.lang.String[] getDefaultCipherSuites()
          Returns the list of cipher suites that will be enabled in server sockets created by this factory.
 java.lang.String[] getSupportedCipherSuites()
          Returns the list of all cipher suites supported by this factory.
private  void setup(SSLServerSocket socket)
           
 
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessions

private final SessionContext sessions

keyManager

private final javax.net.ssl.X509KeyManager keyManager

trustManager

private final javax.net.ssl.X509TrustManager trustManager

srpTrustManager

private final gnu.javax.net.ssl.SRPTrustManager srpTrustManager

random

private final java.security.SecureRandom random
Constructor Detail

SSLServerSocketFactory

SSLServerSocketFactory(javax.net.ssl.X509TrustManager trustManager,
                       gnu.javax.net.ssl.SRPTrustManager srpTrustManager,
                       javax.net.ssl.X509KeyManager keyManager,
                       java.security.SecureRandom random,
                       SessionContext sessions)
Method Detail

getDefaultCipherSuites

public java.lang.String[] getDefaultCipherSuites()
Description copied from class: javax.net.ssl.SSLServerSocketFactory
Returns the list of cipher suites that will be enabled in server sockets created by this factory.


getSupportedCipherSuites

public java.lang.String[] getSupportedCipherSuites()
Description copied from class: javax.net.ssl.SSLServerSocketFactory
Returns the list of all cipher suites supported by this factory.


createServerSocket

public java.net.ServerSocket createServerSocket()
                                         throws java.io.IOException
Description copied from class: javax.net.ServerSocketFactory
Create an unbound server socket.


createServerSocket

public java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException
Description copied from class: javax.net.ServerSocketFactory
Create a server socket bound to the given port.


createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog)
                                         throws java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int port,
                                                int backlog,
                                                java.net.InetAddress addr)
                                         throws java.io.IOException

setup

private void setup(SSLServerSocket socket)