程序包 | 说明 |
---|---|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
限定符和类型 | 方法和说明 |
---|---|
SslContextBuilder |
SslContextBuilder.applicationProtocolConfig(ApplicationProtocolConfig apn)
Application protocol negotiation configuration.
|
SslContextBuilder |
SslContextBuilder.ciphers(java.lang.Iterable<java.lang.String> ciphers)
The cipher suites to enable, in the order of preference.
|
SslContextBuilder |
SslContextBuilder.ciphers(java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter)
The cipher suites to enable, in the order of preference.
|
SslContextBuilder |
SslContextBuilder.clientAuth(ClientAuth clientAuth)
Sets the client authentication mode.
|
SslContextBuilder |
SslContextBuilder.enableOcsp(boolean enableOcsp)
Enables OCSP stapling.
|
static SslContextBuilder |
SslContextBuilder.forClient()
Creates a builder for new client-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.io.File keyCertChainFile,
java.io.File keyFile)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream,
java.lang.String keyPassword)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(javax.net.ssl.KeyManagerFactory keyManagerFactory)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.security.PrivateKey key,
java.lang.String keyPassword,
java.security.cert.X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(java.security.PrivateKey key,
java.security.cert.X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
SslContextBuilder |
SslContextBuilder.keyManager(java.io.File keyCertChainFile,
java.io.File keyFile)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(java.io.InputStream keyCertChainInputStream,
java.io.InputStream keyInputStream,
java.lang.String keyPassword)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(javax.net.ssl.KeyManagerFactory keyManagerFactory)
Identifying manager for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(java.security.PrivateKey key,
java.lang.String keyPassword,
java.security.cert.X509Certificate... keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(java.security.PrivateKey key,
java.security.cert.X509Certificate... keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.protocols(java.lang.String... protocols)
The TLS protocol versions to enable.
|
SslContextBuilder |
SslContextBuilder.sessionCacheSize(long sessionCacheSize)
Set the size of the cache used for storing SSL session objects.
|
SslContextBuilder |
SslContextBuilder.sessionTimeout(long sessionTimeout)
Set the timeout for the cached SSL session objects, in seconds.
|
SslContextBuilder |
SslContextBuilder.sslContextProvider(java.security.Provider sslContextProvider)
The SSLContext
Provider to use. |
SslContextBuilder |
SslContextBuilder.sslProvider(SslProvider provider)
The
SslContext implementation to use. |
SslContextBuilder |
SslContextBuilder.startTls(boolean startTls)
true if the first write request shouldn't be encrypted. |
SslContextBuilder |
SslContextBuilder.trustManager(java.io.File trustCertCollectionFile)
Trusted certificates for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(java.io.InputStream trustCertCollectionInputStream)
Trusted certificates for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(javax.net.ssl.TrustManagerFactory trustManagerFactory)
Trusted manager for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(java.security.cert.X509Certificate... trustCertCollection)
Trusted certificates for verifying the remote endpoint's certificate,
null uses the system default. |