public class ClientX509Util extends X509Util
X509Util.ClientAuthDEFAULT_HANDSHAKE_DETECTION_TIMEOUT_MILLIS, DEFAULT_PROTOCOL, FIPS_MODE_PROPERTY, TLS_1_1, TLS_1_2, TLS_1_3| Constructor and Description |
|---|
ClientX509Util() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.ssl.SslContext |
createNettySslContextForClient(ZKConfig config) |
io.netty.handler.ssl.SslContext |
createNettySslContextForServer(ZKConfig config) |
io.netty.handler.ssl.SslContext |
createNettySslContextForServer(ZKConfig config,
KeyManager keyManager,
TrustManager trustManager) |
protected String |
getConfigPrefix() |
String |
getSslAuthProviderProperty() |
io.netty.handler.ssl.SslProvider |
getSslProvider(ZKConfig config) |
String |
getSslProviderProperty() |
protected boolean |
shouldAllowReverseDnsLookup() |
protected boolean |
shouldVerifyClientHostname() |
allowReverseDnsLookup, close, createKeyManager, createSSLContext, createSSLContextAndOptions, createSSLContextAndOptionsFromConfig, createSSLServerSocket, createSSLServerSocket, createSSLSocket, createSSLSocket, createTrustManager, enableCertFileReloading, getCipherSuitesProperty, getDefaultSSLContext, getDefaultSSLContextAndOptions, getFipsMode, getFipsModeProperty, getPasswordFromConfigPropertyOrFile, getSslAllowReverseDnsLookupProperty, getSslCipherSuitesProperty, getSslClientAuthProperty, getSslClientHostnameVerificationEnabledProperty, getSslContextSupplierClassProperty, getSslCrlEnabledProperty, getSslEnabledProtocolsProperty, getSslHandshakeDetectionTimeoutMillisProperty, getSslHandshakeTimeoutMillis, getSslHostnameVerificationEnabledProperty, getSslKeystoreLocationProperty, getSslKeystorePasswdPathProperty, getSslKeystorePasswdProperty, getSslKeystoreTypeProperty, getSslOcspEnabledProperty, getSslProtocolProperty, getSslTruststoreLocationProperty, getSslTruststorePasswdPathProperty, getSslTruststorePasswdProperty, getSslTruststoreTypeProperty, isClientHostnameVerificationEnabled, isServerHostnameVerificationEnabled, loadKeyStore, loadTrustStoreprotected String getConfigPrefix()
getConfigPrefix in class X509Utilprotected boolean shouldVerifyClientHostname()
shouldVerifyClientHostname in class X509Utilprotected boolean shouldAllowReverseDnsLookup()
shouldAllowReverseDnsLookup in class X509Utilpublic String getSslAuthProviderProperty()
public String getSslProviderProperty()
public io.netty.handler.ssl.SslContext createNettySslContextForClient(ZKConfig config) throws X509Exception.KeyManagerException, X509Exception.TrustManagerException, SSLException
public io.netty.handler.ssl.SslContext createNettySslContextForServer(ZKConfig config) throws X509Exception.SSLContextException, X509Exception.KeyManagerException, X509Exception.TrustManagerException, SSLException
public io.netty.handler.ssl.SslContext createNettySslContextForServer(ZKConfig config, KeyManager keyManager, TrustManager trustManager) throws SSLException
SSLExceptionpublic io.netty.handler.ssl.SslProvider getSslProvider(ZKConfig config)
Copyright © 2008–2026 The Apache Software Foundation. All rights reserved.