Package com.netscape.cmscore.ldapconn
Class PKISocketFactory
java.lang.Object
com.netscape.cmscore.ldapconn.PKISocketFactory
- All Implemented Interfaces:
netscape.ldap.LDAPSocketFactory
,netscape.ldap.LDAPSSLSocketFactoryExt
Uses HCL ssl socket.
- Author:
- Lily Hsiao lhsiao@netscape.com
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPKISocketFactory
(boolean secure) PKISocketFactory
(String certNickname) PKISocketFactory
(String certNickname, boolean external) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
void
init
(PKISocketConfig config) boolean
void
makeSocket
(String host, int port) org.mozilla.jss.ssl.SSLSocket
makeSSLSocket
(String host, int port)
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
PKISocketFactory
public PKISocketFactory() -
PKISocketFactory
public PKISocketFactory(boolean secure) -
PKISocketFactory
-
PKISocketFactory
-
-
Method Details
-
init
public void init() -
init
-
makeSSLSocket
public org.mozilla.jss.ssl.SSLSocket makeSSLSocket(String host, int port) throws UnknownHostException, IOException - Throws:
UnknownHostException
IOException
-
makeSocket
- Specified by:
makeSocket
in interfacenetscape.ldap.LDAPSocketFactory
- Throws:
netscape.ldap.LDAPException
-
isClientAuth
public boolean isClientAuth()- Specified by:
isClientAuth
in interfacenetscape.ldap.LDAPSSLSocketFactoryExt
-
getCipherSuites
- Specified by:
getCipherSuites
in interfacenetscape.ldap.LDAPSSLSocketFactoryExt
-
log
-