Package com.hivemq.client.mqtt
Interface MqttClientSslConfig
Configuration for a secure transport to use by
MQTT clients.- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longThe default SSL/TLS handshake timeout in milliseconds. -
Method Summary
-
Field Details
-
DEFAULT_HANDSHAKE_TIMEOUT_MS
static final long DEFAULT_HANDSHAKE_TIMEOUT_MSThe default SSL/TLS handshake timeout in milliseconds.- See Also:
-
-
Method Details
-
builder
Creates a builder for a secure transport configuration.- Returns:
- the created builder for a secure transport configuration.
-
getKeyManagerFactory
- Returns:
- the optional user defined
KeyManagerFactory.
-
getTrustManagerFactory
- Returns:
- the optional user defined
TrustManagerFactory.
-
getCipherSuites
The optional user defined cipher suites. If absent, the default cipher suites of Netty (network communication framework) will be used.- Returns:
- the optional user defined cipher suites.
-
getProtocols
The optional user defined protocols. If absent, the default protocols of Netty (network communication framework) will be used.- Returns:
- the optional user defined protocols.
-
getHandshakeTimeoutMs
long getHandshakeTimeoutMs()- Returns:
- the SSL/TLS handshake timeout in milliseconds.
-
getHostnameVerifier
- Returns:
- the optional user defined hostname verifier. If absent, https hostname verification is performed.
- Since:
- 1.2
-
extend
Creates a builder for extending this secure transport configuration.- Returns:
- the created builder.
- Since:
- 1.1
-