|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.ldapadapter.ldap.jdk14.SSLContextJDK14
public class SSLContextJDK14
Wrapper class for JDK 1.4 SSLContext class.
Constructor Summary | |
---|---|
SSLContextJDK14()
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 SSLContextJDK14()
Method Detail |
---|
public javax.net.ssl.SSLSocketFactory getSocketFactory() throws java.io.IOException
getSocketFactory
in interface SSLContextJDKPlatform
java.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 SSLContextJDKPlatform
sslProtocol
- 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 |