Package com.linkedin.alpini.netty4.ssl
Class SSLEngineFactoryImpl.Config
- java.lang.Object
-
- com.linkedin.alpini.netty4.ssl.SSLEngineFactoryImpl.Config
-
- Enclosing class:
- SSLEngineFactoryImpl
public static class SSLEngineFactoryImpl.Config extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesSslRequireClientCerts()
java.lang.String
getKeyStoreData()
java.lang.String
getKeyStoreFilePath()
java.lang.String
getKeyStorePassword()
java.lang.String
getKeyStoreType()
long
getSessionCacheSize()
long
getSessionTimeout()
java.security.Provider
getSslContextProvider()
boolean
getSslEnabled()
java.lang.String
getTrustStoreFilePassword()
java.lang.String
getTrustStoreFilePath()
boolean
getUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk()
boolean
isPermitHttp2()
boolean
isRequireClientCertOnLocalHost()
boolean
isUseRefCount()
void
setKeyStoreData(java.lang.String keyStoreData)
void
setKeyStoreFilePath(java.lang.String keyStoreFilePath)
void
setKeyStorePassword(java.lang.String keyStorePassword)
void
setKeyStoreType(java.lang.String keyStoreType)
void
setPermitHttp2(boolean permitHttp2)
void
setRequireClientCertOnLocalHost(boolean requireClientCertOnLocalHost)
void
setSessionCacheSize(long sessionCacheSize)
void
setSessionTimeout(long sessionTimeout)
void
setSslContextProvider(java.security.Provider sslContextProvider)
void
setSslEnabled(boolean sslEnabled)
void
setSslRequireClientCerts(boolean sslRequireClientCerts)
void
setTrustStoreFilePassword(java.lang.String trustStoreFilePassword)
void
setTrustStoreFilePath(java.lang.String trustStoreFilePath)
void
setUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk(boolean useInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk)
void
setUseRefCount(boolean useRefCount)
-
-
-
Method Detail
-
setKeyStoreData
public void setKeyStoreData(java.lang.String keyStoreData)
-
getKeyStoreData
public java.lang.String getKeyStoreData()
-
setKeyStoreFilePath
public void setKeyStoreFilePath(java.lang.String keyStoreFilePath)
-
getKeyStoreFilePath
public java.lang.String getKeyStoreFilePath()
-
setKeyStorePassword
public void setKeyStorePassword(java.lang.String keyStorePassword)
-
getKeyStorePassword
public java.lang.String getKeyStorePassword()
-
setTrustStoreFilePath
public void setTrustStoreFilePath(java.lang.String trustStoreFilePath)
-
getTrustStoreFilePath
public java.lang.String getTrustStoreFilePath()
-
setTrustStoreFilePassword
public void setTrustStoreFilePassword(java.lang.String trustStoreFilePassword)
-
getTrustStoreFilePassword
public java.lang.String getTrustStoreFilePassword()
-
setKeyStoreType
public void setKeyStoreType(java.lang.String keyStoreType)
-
getKeyStoreType
public java.lang.String getKeyStoreType()
-
setSslEnabled
public void setSslEnabled(boolean sslEnabled)
-
getSslEnabled
public boolean getSslEnabled()
-
doesSslRequireClientCerts
public boolean doesSslRequireClientCerts()
-
setSslRequireClientCerts
public void setSslRequireClientCerts(boolean sslRequireClientCerts)
-
isRequireClientCertOnLocalHost
public boolean isRequireClientCertOnLocalHost()
-
setRequireClientCertOnLocalHost
public void setRequireClientCertOnLocalHost(boolean requireClientCertOnLocalHost)
-
isPermitHttp2
public boolean isPermitHttp2()
-
setPermitHttp2
public void setPermitHttp2(boolean permitHttp2)
-
getSessionCacheSize
public long getSessionCacheSize()
-
setSessionCacheSize
public void setSessionCacheSize(long sessionCacheSize)
-
getSessionTimeout
public long getSessionTimeout()
-
setSessionTimeout
public void setSessionTimeout(long sessionTimeout)
-
getUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk
public boolean getUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk()
-
setUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk
public void setUseInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk(boolean useInsecureLegacyTlsProtocolBecauseOfBrokenPeersUsingAncientJdk)
-
getSslContextProvider
public java.security.Provider getSslContextProvider()
-
setSslContextProvider
public void setSslContextProvider(java.security.Provider sslContextProvider)
-
isUseRefCount
public boolean isUseRefCount()
-
setUseRefCount
public void setUseRefCount(boolean useRefCount)
-
-