|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.ldapadapter.ldap.jdk13.SSLContextJDK13
public class SSLContextJDK13
Wrapper class for JDK 1.3 + JSSE extension SSLContext class.
| Constructor Summary | |
|---|---|
SSLContextJDK13()
Creates a new instance of SSLContextJDK13 |
|
| Method Summary | |
|---|---|
javax.net.ssl.SSLSocketFactory |
getSocketFactory()
Retrieves the SSLSocketFactory from the established underlying SSLContext. |
void |
init(java.lang.String sslProtocol,
java.lang.String trustStoreType,
java.lang.String trustStore,
java.lang.String trustStorePassword,
java.lang.String keyStoreType,
java.lang.String keyStore,
java.lang.String keyStorePassword,
java.lang.String x509Algorithm)
Initialize the underlying SSLContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLContextJDK13()
| Method Detail |
|---|
public javax.net.ssl.SSLSocketFactory getSocketFactory()
throws java.io.IOException
getSocketFactory in interface SSLContextJDKPlatformjava.io.IOException - upon error.
public void init(java.lang.String sslProtocol,
java.lang.String trustStoreType,
java.lang.String trustStore,
java.lang.String trustStorePassword,
java.lang.String keyStoreType,
java.lang.String keyStore,
java.lang.String keyStorePassword,
java.lang.String x509Algorithm)
throws java.io.IOException
init in interface SSLContextJDKPlatformsslProtocol - The SSL Protocol to use. Valid are SSL, SSLv2, SSLv3,
TLS, TLSv1trustStoreType - The truststore type (i.e., JKS).trustStore - The truststore location.trustStorePassword - The truststore password.keyStoreType - The keystore type (i.e., JKS).keyStore - The keystore location.keyStorePassword - The keystore password.x509Algorithm - The X509 algorithm name to use for the
trust and key manager factories.
java.io.IOException - upon error.
|
Sun Adapter for LDAP API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||