| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.ssl.SslContext |
asClient(boolean auth) |
io.netty.handler.ssl.SslContext |
asServer() |
static SelfSignedSslContextFactory |
forHost(String host) |
static SelfSignedSslContextFactory |
forLocalhost() |
public static SelfSignedSslContextFactory forHost(String host)
public static SelfSignedSslContextFactory forLocalhost()
public io.netty.handler.ssl.SslContext asServer()
throws CertificateException,
SSLException
CertificateExceptionSSLExceptionpublic io.netty.handler.ssl.SslContext asClient(boolean auth)
throws CertificateException,
SSLException
CertificateExceptionSSLExceptionCopyright © 2019. All rights reserved.