Package | Description |
---|---|
io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
Modifier and Type | Method and Description |
---|---|
static SslOptions.Builder |
SslOptions.builder()
Returns a new
SslOptions.Builder to construct SslOptions . |
SslOptions.Builder |
SslOptions.Builder.cipherSuites(String... cipherSuites)
Sets the cipher suites to use.
|
SslOptions.Builder |
SslOptions.Builder.handshakeTimeout(Duration timeout)
Sets a timeout for the SSL handshake.
|
SslOptions.Builder |
SslOptions.Builder.jdkSslProvider()
Use the JDK SSL provider for SSL connections.
|
SslOptions.Builder |
SslOptions.Builder.keyManager(File keyCertChainFile,
File keyFile,
char[] keyPassword)
Sets the key file and its certificate to use for client authentication.
|
SslOptions.Builder |
SslOptions.Builder.keyManager(KeyManagerFactory keyManagerFactory)
Sets the
KeyManagerFactory . |
SslOptions.Builder |
SslOptions.Builder.keyManager(SslOptions.Resource keyCertChain,
SslOptions.Resource key,
char[] keyPassword)
Sets the key and its certificate to use for client authentication.
|
SslOptions.Builder |
SslOptions.Builder.keystore(File keystore)
Sets the Keystore file to load client certificates.
|
SslOptions.Builder |
SslOptions.Builder.keystore(File keystore,
char[] keystorePassword)
Sets the Keystore file to load client certificates.
|
SslOptions.Builder |
SslOptions.Builder.keystore(SslOptions.Resource resource,
char[] keystorePassword)
Sets the Java Keystore resource to load client certificates.
|
SslOptions.Builder |
SslOptions.Builder.keystore(URL keystore)
Sets the Keystore resource to load client certificates.
|
SslOptions.Builder |
SslOptions.Builder.keystore(URL keystore,
char[] keystorePassword)
Sets the Keystore resource to load client certificates.
|
SslOptions.Builder |
SslOptions.Builder.keyStoreType(String keyStoreType)
Sets the KeyStore type.
|
SslOptions.Builder |
SslOptions.mutate()
Returns a builder to create new
SslOptions whose settings are replicated from the current SslOptions . |
SslOptions.Builder |
SslOptions.Builder.openSslProvider()
Use the OpenSSL provider for SSL connections.
|
SslOptions.Builder |
SslOptions.Builder.protocols(String... protocols)
Sets the protocol used for the connection established to Redis Server, such as
TLSv1.2, TLSv1.1, TLSv1 . |
SslOptions.Builder |
SslOptions.Builder.sslContext(Consumer<SslContextBuilder> contextBuilderCustomizer)
Applies a
SslContextBuilder customizer by calling Consumer.accept(Object) |
SslOptions.Builder |
SslOptions.Builder.sslParameters(Supplier<SSLParameters> sslParametersSupplier)
Configures a
Supplier to create SSLParameters . |
SslOptions.Builder |
SslOptions.Builder.trustManager(File certCollection)
Sets the certificate file to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.trustManager(SslOptions.Resource certCollection)
Sets the certificate resource to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.trustManager(TrustManagerFactory trustManagerFactory)
Sets the
TrustManagerFactory . |
SslOptions.Builder |
SslOptions.Builder.truststore(File truststore)
Sets the Truststore file to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.truststore(File truststore,
String truststorePassword)
Sets the Truststore file to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.truststore(SslOptions.Resource resource,
char[] truststorePassword)
Sets the Truststore resource to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.truststore(URL truststore)
Sets the Truststore resource to load trusted certificates.
|
SslOptions.Builder |
SslOptions.Builder.truststore(URL truststore,
String truststorePassword)
Sets the Truststore resource to load trusted certificates.
|
Constructor and Description |
---|
SslOptions(SslOptions.Builder builder) |
Copyright © 2024 lettuce.io. All rights reserved.