public static class RemoteEndpointAwareJdkSSLOptions.Builder extends JdkSSLOptions.Builder
RemoteEndpointAwareJdkSSLOptions
instances.cipherSuites, context
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RemoteEndpointAwareJdkSSLOptions |
build()
Builds a new instance based on the parameters provided to this builder.
|
RemoteEndpointAwareJdkSSLOptions.Builder |
withCipherSuites(String[] cipherSuites)
Set the cipher suites to use.
|
RemoteEndpointAwareJdkSSLOptions.Builder |
withSSLContext(SSLContext context)
Set the SSL context to use.
|
public RemoteEndpointAwareJdkSSLOptions.Builder withSSLContext(SSLContext context)
JdkSSLOptions.Builder
If 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.Builder
context
- the SSL context.public RemoteEndpointAwareJdkSSLOptions.Builder withCipherSuites(String[] cipherSuites)
JdkSSLOptions.Builder
If this method isn't called, the default is to present all the eligible client ciphers to the server.
withCipherSuites
in class JdkSSLOptions.Builder
cipherSuites
- the cipher suites to use.public RemoteEndpointAwareJdkSSLOptions build()
JdkSSLOptions.Builder
build
in class JdkSSLOptions.Builder
Copyright © 2012–2024. All rights reserved.