public abstract class SSLServer extends SSLBase
host, port, PREFERRED_CIPHER_NAMES, sslContext, sslEngine
Modifier and Type | Method and Description |
---|---|
protected SSLContext |
createSSLContext()
Implemented by Server/Client to set up correct ssl context.
|
protected SSLEngine |
createSSLEngine() |
protected void |
log(String msg) |
static void |
main(String[] args) |
getSSLContext, getSSLEngine, initialize, input, input, output, receiveInput, resetSSL, sendOutput
public SSLServer(String host, int port)
protected SSLContext createSSLContext() throws Exception
SSLBase
createSSLContext
in class SSLBase
Exception
protected SSLEngine createSSLEngine() throws Exception
createSSLEngine
in class SSLBase
Exception
Copyright © 1999–2019 ViaOA. All rights reserved.