public class HttpClientProperties.Ssl
extends java.lang.Object
| 构造器和说明 |
|---|
Ssl() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.security.KeyStore |
createKeyStore()
Create key store.
|
java.time.Duration |
getCloseNotifyFlushTimeout()
Gets close notify flush timeout.
|
java.time.Duration |
getCloseNotifyReadTimeout()
Gets close notify read timeout.
|
io.netty.handler.ssl.SslProvider |
getDefaultConfigurationType()
Gets default configuration type.
|
java.time.Duration |
getHandshakeTimeout()
Gets handshake timeout.
|
javax.net.ssl.KeyManagerFactory |
getKeyManagerFactory()
Gets key manager factory.
|
java.lang.String |
getKeyPassword()
Gets key password.
|
java.lang.String |
getKeyStorePassword()
Gets key store password.
|
java.lang.String |
getKeyStorePath()
Gets key store path.
|
java.lang.String |
getKeyStoreProvider()
Gets key store provider.
|
java.lang.String |
getKeyStoreType()
Gets key store type.
|
java.util.List<java.lang.String> |
getTrustedX509Certificates()
Gets trusted x 509 certificates.
|
java.security.cert.X509Certificate[] |
getTrustedX509CertificatesForTrustManager()
Get trusted x 509 certificates for trust manager x 509 certificate [].
|
boolean |
isUseInsecureTrustManager()
Is use insecure trust manager boolean.
|
void |
setCloseNotifyFlushTimeout(java.time.Duration closeNotifyFlushTimeout)
Sets close notify flush timeout.
|
void |
setCloseNotifyReadTimeout(java.time.Duration closeNotifyReadTimeout)
Sets close notify read timeout.
|
void |
setDefaultConfigurationType(io.netty.handler.ssl.SslProvider defaultConfigurationType)
Sets default configuration type.
|
void |
setHandshakeTimeout(java.time.Duration handshakeTimeout)
Sets handshake timeout.
|
void |
setKeyPassword(java.lang.String keyPassword)
Sets key password.
|
void |
setKeyStorePassword(java.lang.String keyStorePassword)
Sets key store password.
|
void |
setKeyStorePath(java.lang.String keyStorePath)
Sets key store path.
|
void |
setKeyStoreProvider(java.lang.String keyStoreProvider)
Sets key store provider.
|
void |
setKeyStoreType(java.lang.String keyStoreType)
Sets key store type.
|
void |
setTrustedX509Certificates(java.util.List<java.lang.String> trustedX509Certificates)
Sets trusted x 509 certificates.
|
void |
setUseInsecureTrustManager(boolean useInsecureTrustManager)
Sets use insecure trust manager.
|
public boolean isUseInsecureTrustManager()
public void setUseInsecureTrustManager(boolean useInsecureTrustManager)
useInsecureTrustManager - the use insecure trust managerpublic java.util.List<java.lang.String> getTrustedX509Certificates()
public void setTrustedX509Certificates(java.util.List<java.lang.String> trustedX509Certificates)
trustedX509Certificates - the trusted x 509 certificatespublic java.time.Duration getHandshakeTimeout()
public void setHandshakeTimeout(java.time.Duration handshakeTimeout)
handshakeTimeout - the handshake timeoutpublic java.time.Duration getCloseNotifyFlushTimeout()
public void setCloseNotifyFlushTimeout(java.time.Duration closeNotifyFlushTimeout)
closeNotifyFlushTimeout - the close notify flush timeoutpublic java.time.Duration getCloseNotifyReadTimeout()
public void setCloseNotifyReadTimeout(java.time.Duration closeNotifyReadTimeout)
closeNotifyReadTimeout - the close notify read timeoutpublic io.netty.handler.ssl.SslProvider getDefaultConfigurationType()
public void setDefaultConfigurationType(io.netty.handler.ssl.SslProvider defaultConfigurationType)
defaultConfigurationType - the default configuration typepublic java.lang.String getKeyStorePath()
public void setKeyStorePath(java.lang.String keyStorePath)
keyStorePath - the key store pathpublic java.lang.String getKeyStoreType()
public void setKeyStoreType(java.lang.String keyStoreType)
keyStoreType - the key store typepublic java.lang.String getKeyStoreProvider()
public void setKeyStoreProvider(java.lang.String keyStoreProvider)
keyStoreProvider - the key store providerpublic java.lang.String getKeyStorePassword()
public void setKeyStorePassword(java.lang.String keyStorePassword)
keyStorePassword - the key store passwordpublic java.lang.String getKeyPassword()
public void setKeyPassword(java.lang.String keyPassword)
keyPassword - the key passwordpublic java.security.cert.X509Certificate[] getTrustedX509CertificatesForTrustManager()
public javax.net.ssl.KeyManagerFactory getKeyManagerFactory()
public java.security.KeyStore createKeyStore()
Copyright © 2026 The Apache Software Foundation. All rights reserved.