|
Sun Adapter for e-Mail API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
com.stc.connector.emailadapter.appconn.EmailSSLSocketFactory
public class EmailSSLSocketFactory
SSLSocket factory class used to manually load truststore
| Field Summary | |
|---|---|
static java.lang.String |
trustStore
|
static java.lang.String |
trustStorePassword
|
static java.lang.String |
trustStoreType
|
static java.lang.String |
x509Algorithm
|
| Constructor Summary | |
|---|---|
EmailSSLSocketFactory()
Constructor for SSLSocketFactory. |
|
| Method Summary | |
|---|---|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
Create a socket. |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
Create a socket. |
java.net.Socket |
createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
Create a socket. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Create a socket. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
Create a socket. |
static javax.net.SocketFactory |
getDefault()
|
java.lang.String[] |
getDefaultCipherSuites()
Get the default cipher suites. |
java.lang.String[] |
getSupportedCipherSuites()
Get the supported cipher suites. |
| Methods inherited from class javax.net.SocketFactory |
|---|
createSocket |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String trustStore
public static java.lang.String trustStoreType
public static java.lang.String trustStorePassword
public static java.lang.String x509Algorithm
| Constructor Detail |
|---|
public EmailSSLSocketFactory()
throws java.io.IOException
trustStore - Fully qualified truststore filename.trustStoreType - Truststore type (JKS, etc.).trustStorePassword - The truststore password.x509Algorithm - X509 certificate manager algorithm.
java.io.IOException - upon error.| Method Detail |
|---|
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.SocketFactoryhost - The host.port - The port.
java.io.IOException - upon error.
java.net.UnknownHostException - upon error.
public java.net.Socket createSocket(java.lang.String host,
int port,
java.net.InetAddress clientHost,
int clientPort)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.SocketFactoryhost - The host.port - The port.clientHost - InetAddress of client host.clientPort - port number of client host.
java.io.IOException - upon error.
java.net.UnknownHostException - upon error.
public java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.SocketFactoryhost - The InetAddress of host.port - The port.
java.io.IOException - upon error.
java.net.UnknownHostException - upon error.
public java.net.Socket createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort)
throws java.io.IOException
createSocket in class javax.net.SocketFactoryaddress - The InetAddress of host.port - The port.clientAddress - InetAddress of client host.clientPort - port number of client host.
java.io.IOException - upon error.
public java.net.Socket createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
throws java.io.IOException,
java.net.UnknownHostException
createSocket in class javax.net.ssl.SSLSocketFactorys - The current established socket connection.host - The host.port - The port.autoClose - Automatically close socket connection.
java.io.IOException - upon error.
java.net.UnknownHostException - upon error.public java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactorypublic java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactorypublic static javax.net.SocketFactory getDefault()
|
Sun Adapter for e-Mail API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||