|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.common.net.SocketFactoryFactory
This class defines a SocketFactory
| Constructor Summary | |
SocketFactoryFactory()
|
|
| Method Summary | |
static javax.net.SocketFactory |
createFactory(SSLConfiguration config)
create a socket factory with the specified configuration |
static javax.net.ServerSocketFactory |
createServerFactory(SSLConfiguration config)
create a server socket factory with the specified configuration |
static com.sun.net.ssl.SSLContext |
createSSLContext(SSLConfiguration config)
create a ssl context |
protected static com.sun.net.ssl.KeyManager[] |
getKeyManagers(java.io.File keyStore,
java.lang.String keyStorePassword,
java.lang.String keyPassword)
|
protected static com.sun.net.ssl.TrustManager[] |
getTrustManagers(java.io.File trustStore,
java.lang.String trustStorePassword)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SocketFactoryFactory()
| Method Detail |
public static javax.net.ServerSocketFactory createServerFactory(SSLConfiguration config)
throws SSLException
config - - the ssl configuration
SSLException - - could not create factory
public static javax.net.SocketFactory createFactory(SSLConfiguration config)
throws java.lang.Exception
config - - the ssl configuration
java.lang.Exception - - could not create factory
public static com.sun.net.ssl.SSLContext createSSLContext(SSLConfiguration config)
throws java.lang.Exception
config - - ssl config
java.lang.Exception - - problems initializing the content
protected static com.sun.net.ssl.KeyManager[] getKeyManagers(java.io.File keyStore,
java.lang.String keyStorePassword,
java.lang.String keyPassword)
throws java.io.IOException,
java.security.GeneralSecurityException
java.io.IOException
java.security.GeneralSecurityException
protected static com.sun.net.ssl.TrustManager[] getTrustManagers(java.io.File trustStore,
java.lang.String trustStorePassword)
throws java.io.IOException,
java.security.GeneralSecurityException
java.io.IOException
java.security.GeneralSecurityException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||