public static class SniSSLOptions.Builder extends JdkSSLOptions.Builder
cipherSuites, context| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
SniSSLOptions | 
build()
Builds a new instance based on the parameters provided to this builder. 
 | 
SniSSLOptions.Builder | 
withCipherSuites(String[] cipherSuites)
Set the cipher suites to use. 
 | 
SniSSLOptions.Builder | 
withSSLContext(SSLContext context)
Set the SSL context to use. 
 | 
public SniSSLOptions.Builder withSSLContext(SSLContext context)
JdkSSLOptions.BuilderIf this method isn't called, a context with the default options will be used, and you can use the default JSSE System properties to customize its behavior. This may in particular involve creating a simple keyStore and trustStore.
withSSLContext in class JdkSSLOptions.Buildercontext - the SSL context.public SniSSLOptions.Builder withCipherSuites(String[] cipherSuites)
JdkSSLOptions.BuilderIf this method isn't called, the default is to present all the eligible client ciphers to the server.
withCipherSuites in class JdkSSLOptions.BuildercipherSuites - the cipher suites to use.public SniSSLOptions build()
JdkSSLOptions.Builderbuild in class JdkSSLOptions.BuilderCopyright © 2012–2019. All rights reserved.