|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Acme.Serve.SSLAcceptor
public class SSLAcceptor
Field Summary | |
---|---|
static String |
ARG_ALGORITHM
|
static String |
ARG_BACKLOG
|
static String |
ARG_CLIENTAUTH
|
static String |
ARG_IFADDRESS
|
static String |
ARG_KEYPASS
|
static String |
ARG_KEYSTOREFILE
|
static String |
ARG_KEYSTOREPASS
|
static String |
ARG_KEYSTORETYPE
|
static String |
ARG_PORT
|
static String |
ARG_PROTOCOL
|
static int |
BACKLOG
default backlog |
protected String |
keystoreFile
Pathname to the key store file to be used. |
static String |
KEYSTORETYPE
Storage type of the key store file to be used. |
static int |
PORT
default SSL port |
static String |
protocol
SSL protocol variant to use. |
static String |
PROTOCOL_HANDLER
|
static String |
PROTOCOL_PACKAGES
The name of the system property containing a "|" delimited list of protocol handler packages. |
protected ServerSocket |
socket
|
static String |
SUNX509
Certificate encoding algorithm to be used. |
static String |
TLS
SSL protocol variant to use. |
Constructor Summary | |
---|---|
SSLAcceptor()
|
Method Summary | |
---|---|
Socket |
accept()
|
void |
destroy()
|
void |
init(Map inProperties,
Map outProperties)
|
protected static void |
initHandler()
Register our URLStreamHandler for the "https:" protocol. |
protected void |
initServerSocket(ServerSocket ssocket,
boolean clientAuth)
Set the requested properties for this server socket. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ARG_ALGORITHM
public static final String ARG_CLIENTAUTH
public static final String ARG_KEYSTOREFILE
public static final String ARG_KEYSTOREPASS
public static final String ARG_KEYSTORETYPE
public static final String ARG_KEYPASS
public static final String ARG_PROTOCOL
public static final String ARG_BACKLOG
public static final String ARG_IFADDRESS
public static final String ARG_PORT
public static final String PROTOCOL_HANDLER
public static final String PROTOCOL_PACKAGES
public static final String SUNX509
public static final int PORT
public static final int BACKLOG
public static final String KEYSTORETYPE
public static final String TLS
public static final String protocol
protected String keystoreFile
protected ServerSocket socket
Constructor Detail |
---|
public SSLAcceptor()
Method Detail |
---|
public Socket accept() throws IOException
accept
in interface Serve.Acceptor
IOException
public void destroy() throws IOException
destroy
in interface Serve.Acceptor
IOException
public void init(Map inProperties, Map outProperties) throws IOException
init
in interface Serve.Acceptor
IOException
protected static void initHandler()
public String toString()
toString
in class Object
protected void initServerSocket(ServerSocket ssocket, boolean clientAuth)
ssocket
- The server socket to be configured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |