B - the type of the builder.@DoNotImplement public interface MqttClientSslConfigBuilderBase<B extends MqttClientSslConfigBuilderBase<B>>
MqttClientSslConfig.| Modifier and Type | Method and Description |
|---|---|
B |
cipherSuites(@Nullable Collection<String> cipherSuites)
Sets the optional user defined
cipher suites. |
B |
handshakeTimeout(long timeout,
@NotNull TimeUnit timeUnit)
Sets the
SSL/TLS handshake timeout. |
B |
hostnameVerifier(@Nullable HostnameVerifier hostnameVerifier)
Sets the optional user defined
hostname verifier. |
B |
keyManagerFactory(@Nullable KeyManagerFactory keyManagerFactory)
Sets the optional user defined
key manager factory. |
B |
protocols(@Nullable Collection<String> protocols)
Sets the optional user defined
protocols. |
B |
trustManagerFactory(@Nullable TrustManagerFactory trustManagerFactory)
Sets the optional user defined
trust manager factory. |
@CheckReturnValue @NotNull B keyManagerFactory(@Nullable @Nullable KeyManagerFactory keyManagerFactory)
key manager factory.keyManagerFactory - the key manager factory or null to remove any previously set key manager
factory.@CheckReturnValue @NotNull B trustManagerFactory(@Nullable @Nullable TrustManagerFactory trustManagerFactory)
trust manager factory.trustManagerFactory - the trust manager factory or null to remove any previously set trust
manager factory@CheckReturnValue @NotNull B cipherSuites(@Nullable @Nullable Collection<String> cipherSuites)
cipher suites.cipherSuites - the cipher suites or null to use the default cipher suites of Netty (network
communication framework).@CheckReturnValue @NotNull B protocols(@Nullable @Nullable Collection<String> protocols)
protocols.protocols - the protocols or null to use the default protocols of Netty (network communication
framework).@CheckReturnValue @NotNull B handshakeTimeout(long timeout, @NotNull @NotNull TimeUnit timeUnit)
SSL/TLS handshake timeout.
The timeout in milliseconds must be in the range: [0, Integer.MAX_VALUE].
timeout - the SSL/TLS handshake timeout or 0 to disable the timeout.timeUnit - the time unit of the given timeout (this timeout only supports millisecond precision).@CheckReturnValue @NotNull B hostnameVerifier(@Nullable @Nullable HostnameVerifier hostnameVerifier)
hostname verifier.hostnameVerifier - the hostname verifier or null to use https hostname verification.