Package org.ldaptive.ssl
Class SslConfig.Builder
- java.lang.Object
-
- org.ldaptive.ssl.SslConfig.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SslConfig
build()
SslConfig.Builder
cipherSuites(String... suites)
SslConfig.Builder
credentialConfig(CredentialConfig config)
SslConfig.Builder
freeze()
SslConfig.Builder
handshakeListeners(HandshakeCompletedListener... listeners)
SslConfig.Builder
handshakeTimeout(Duration timeout)
SslConfig.Builder
hostnameVerifier(CertificateHostnameVerifier verifier)
SslConfig.Builder
protocols(String... protocols)
SslConfig.Builder
trustManagers(TrustManager... managers)
-
-
-
Field Detail
-
object
private final SslConfig object
-
-
Method Detail
-
freeze
public SslConfig.Builder freeze()
-
credentialConfig
public SslConfig.Builder credentialConfig(CredentialConfig config)
-
trustManagers
public SslConfig.Builder trustManagers(TrustManager... managers)
-
hostnameVerifier
public SslConfig.Builder hostnameVerifier(CertificateHostnameVerifier verifier)
-
cipherSuites
public SslConfig.Builder cipherSuites(String... suites)
-
protocols
public SslConfig.Builder protocols(String... protocols)
-
handshakeListeners
public SslConfig.Builder handshakeListeners(HandshakeCompletedListener... listeners)
-
handshakeTimeout
public SslConfig.Builder handshakeTimeout(Duration timeout)
-
build
public SslConfig build()
-
-