com.novell.nds.dirxml.driver.ssl
Class KmoSSLFactory

java.lang.Object
  extended bycom.novell.nds.dirxml.driver.ssl.SSLFactory
      extended bycom.novell.nds.dirxml.driver.ssl.KmoSSLFactory

public abstract class KmoSSLFactory
extends SSLFactory

Extension of SSLFactory describing a factory that will produce SSL-capable sockets based on eDirectory Key Material Objects (KMOs).


Field Summary
 
Fields inherited from class com.novell.nds.dirxml.driver.ssl.SSLFactory
DEFAULT, FALSE, needClientAuth, TRUE, useClientMode
 
Constructor Summary
KmoSSLFactory()
           
 
Method Summary
abstract  void setKmo(String dn)
          Specify the Key Material Object to use for sockets created by this factory This method must be called before attempting to create a socket using the factory.
abstract  void setTrustedRootDN(String trustedRootDN)
          Specify the Trusted Root Container Object to use for sockets created by this factory
 
Methods inherited from class com.novell.nds.dirxml.driver.ssl.SSLFactory
createServerSocket, createServerSocket, createServerSocket, createSocket, createSocket, createSocket, createSocket, getInstance, getSSLDescription, getSSLVerboseDescription, setNeedClientAuth, setUseClientMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmoSSLFactory

public KmoSSLFactory()
Method Detail

setKmo

public abstract void setKmo(String dn)
                     throws SSLInitializationException
Specify the Key Material Object to use for sockets created by this factory

This method must be called before attempting to create a socket using the factory.

Parameters:
dn - of Key Material Object to use for authentication data.
Throws:
SSLInitializationException

setTrustedRootDN

public abstract void setTrustedRootDN(String trustedRootDN)
                               throws SSLInitializationException
Specify the Trusted Root Container Object to use for sockets created by this factory

Parameters:
trustedRootDN - Slash form DN of the Trusted Root container object data.
Throws:
SSLInitializationException