|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SSLContextJDKPlatform
Interface for JDK specific SSLContext wrapper.
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. |
Method Detail |
---|
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
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.javax.net.ssl.SSLSocketFactory getSocketFactory() throws java.io.IOException
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 |