public class ClientX509Util extends X509Util
X509Util.ClientAuth
DEFAULT_HANDSHAKE_DETECTION_TIMEOUT_MILLIS, DEFAULT_PROTOCOL, 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 |
shouldVerifyClientHostname() |
close, createKeyManager, createSSLContext, createSSLContextAndOptions, createSSLContextAndOptionsFromConfig, createSSLServerSocket, createSSLServerSocket, createSSLSocket, createSSLSocket, createTrustManager, enableCertFileReloading, getCipherSuitesProperty, getDefaultSSLContext, getDefaultSSLContextAndOptions, getFipsMode, getFipsModeProperty, getPasswordFromConfigPropertyOrFile, getSslCipherSuitesProperty, getSslClientAuthProperty, getSslContextSupplierClassProperty, getSslCrlEnabledProperty, getSslEnabledProtocolsProperty, getSslHandshakeDetectionTimeoutMillisProperty, getSslHandshakeTimeoutMillis, getSslHostnameVerificationEnabledProperty, getSslKeystoreLocationProperty, getSslKeystorePasswdPathProperty, getSslKeystorePasswdProperty, getSslKeystoreTypeProperty, getSslOcspEnabledProperty, getSslProtocolProperty, getSslTruststoreLocationProperty, getSslTruststorePasswdPathProperty, getSslTruststorePasswdProperty, getSslTruststoreTypeProperty, isClientHostnameVerificationEnabled, isServerHostnameVerificationEnabled, loadKeyStore, loadTrustStore
protected String getConfigPrefix()
getConfigPrefix
in class X509Util
protected boolean shouldVerifyClientHostname()
shouldVerifyClientHostname
in class X509Util
public 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
SSLException
public io.netty.handler.ssl.SslProvider getSslProvider(ZKConfig config)
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.