public interface SslEngineFactory extends AutoCloseable
Note that, for advanced use cases (such as bypassing the JDK in favor of another SSL
implementation), the driver's internal API provides a lower-level interface: SslHandlerFactory
.
Modifier and Type | Method and Description |
---|---|
SSLEngine |
newSslEngine(SocketAddress remoteEndpoint)
Creates a new SSL engine each time a connection is established.
|
close
@NonNull SSLEngine newSslEngine(@NonNull SocketAddress remoteEndpoint)
remoteEndpoint
- the remote endpoint we are connecting to (the address of the Cassandra
node).Copyright © 2017–2018. All rights reserved.