| Modifier and Type | Class and Description |
|---|---|
class |
AutoRebuildSslContextProvider
The abstract implementation for
SslContextProvider with a
WatchService to auto-rebuild SSLContext when certificates
modified. |
| Modifier and Type | Method and Description |
|---|---|
static SslContextProvider |
SslContextProviders.forClient(File trustCertCollectionFile)
Returns a simple implementation of
SslContextProvider which holding
an SslContext trusted certificates for verifying the remote
endpoint's certificate. |
static SslContextProvider |
SslContextProviders.forServer(File keyCertChainFile,
File keyFile)
|
static SslContextProvider |
SslContextProviders.forServer(File keyCertChainFile,
File keyFile,
String keyPassword)
|
static SslContextProvider |
SslContextProviders.insecureForClient()
Returns a simple implementation of
SslContextProvider which holding
an insecure SslContext for client. |
static SslContextProvider |
SslContextProviders.selfSignedForServer()
Returns a simple implementation of
SslContextProvider which holding a
self-signed certificate SslContext for server. |
static SslContextProvider |
SslContextProviders.simple(io.netty.handler.ssl.SslContext sslContext)
Returns a simple implementation of
SslContextProvider which just
holding the specified SslContext. |
static SslContextProvider |
SslContextProviders.watchingForServer(File keyCertChainFile,
File keyFile)
Returns an
SslContextProvider which will auto rebuild
SslContext when the watching certificate file just be modified. |
| Constructor and Description |
|---|
AutoRebuildSslContextProvider(SslContextProvider factory,
Path dir,
Collection<String> watchingFiles)
Constructs a new
AutoRebuildSslContextProvider with the specified
directory Path and watching files given. |
AutoRebuildSslContextProvider(SslContextProvider factory,
Path dir,
String... watchingFiles)
Constructs a new
AutoRebuildSslContextProvider with the specified
directory Path and watching files given. |
Copyright © 2020. All rights reserved.