public final class SslOptionsConfigure extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SslOptionsConfigure |
certificate(File certificate) |
SslOptionsConfigure |
ciphers(String[] ciphers) |
SslOptionsConfigure |
clientAuth(io.netty.handler.ssl.ClientAuth clientAuth) |
SslOptions |
configured() |
SslOptionsConfigure |
enabledProtocols(String[] enabledProtocols) |
SslOptionsConfigure |
handshakeTimeoutMillis(long handshakeTimeoutMillis) |
SslOptionsConfigure |
keyPassword(String keyPassword) |
static SslOptionsConfigure |
newOpts() |
SslOptionsConfigure |
privateKey(File privateKey) |
SslOptionsConfigure |
sessionCacheSize(long sessionCacheSize) |
SslOptionsConfigure |
sessionTimeout(long sessionTimeout) |
SslOptionsConfigure |
trustCertificates(File trustCertificates) |
public static SslOptionsConfigure newOpts()
public SslOptionsConfigure clientAuth(io.netty.handler.ssl.ClientAuth clientAuth)
public SslOptionsConfigure ciphers(String[] ciphers)
public SslOptionsConfigure enabledProtocols(String[] enabledProtocols)
public SslOptionsConfigure certificate(File certificate)
public SslOptionsConfigure privateKey(File privateKey)
public SslOptionsConfigure keyPassword(String keyPassword)
public SslOptionsConfigure trustCertificates(File trustCertificates)
public SslOptionsConfigure sessionTimeout(long sessionTimeout)
public SslOptionsConfigure sessionCacheSize(long sessionCacheSize)
public SslOptionsConfigure handshakeTimeoutMillis(long handshakeTimeoutMillis)
public SslOptions configured()
Copyright © 2020. All rights reserved.