Module io.helidon.common.tls
Package io.helidon.common.tls
Class TlsConfig.BuilderBase.TlsConfigImpl
java.lang.Object
io.helidon.common.tls.TlsConfig.BuilderBase.TlsConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Tls>
,TlsConfig
,Supplier<Tls>
- Enclosing class:
TlsConfig.BuilderBase<BUILDER extends TlsConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TlsConfig>
protected static class TlsConfig.BuilderBase.TlsConfigImpl
extends Object
implements TlsConfig, Supplier<Tls>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.tls.TlsConfig
TlsConfig.Builder, TlsConfig.BuilderBase<BUILDER extends TlsConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TlsConfig> -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default protocol is set to "TLS".static final int
The default session cache size as defined for unset value inSSLSessionContext.getSessionCacheSize()
.static final String
The default session timeout as defined for unset value inSSLSessionContext.getSessionTimeout()
. -
Constructor Summary
ModifierConstructorDescriptionprotected
TlsConfigImpl
(TlsConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Field Details
-
DEFAULT_PROTOCOL
The default protocol is set to "TLS".- See Also:
-
DEFAULT_SESSION_CACHE_SIZE
static final int DEFAULT_SESSION_CACHE_SIZEThe default session cache size as defined for unset value inSSLSessionContext.getSessionCacheSize()
.- See Also:
-
DEFAULT_SESSION_TIMEOUT
The default session timeout as defined for unset value inSSLSessionContext.getSessionTimeout()
.- See Also:
-
-
Constructor Details
-
TlsConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Tls>
- Returns:
- new configured runtime instance
-
get
-
sslContext
-
privateKey
-
privateKeyCertChain
-
trust
-
manager
-
secureRandom
-
sslParameters
-
secureRandomProvider
-
secureRandomAlgorithm
-
keyManagerFactoryAlgorithm
-
keyManagerFactoryProvider
-
trustManagerFactoryAlgorithm
-
trustManagerFactoryProvider
-
applicationProtocols
-
endpointIdentificationAlgorithm
-
enabled
public boolean enabled() -
trustAll
public boolean trustAll() -
clientAuth
-
protocol
-
provider
-
enabledCipherSuites
-
enabledProtocols
-
sessionCacheSize
public int sessionCacheSize() -
sessionTimeout
-
internalKeystoreType
-
internalKeystoreProvider
-
revocation
-
toString
-
equals
-
hashCode
public int hashCode()
-