Interface ClientCertificateManager

All Known Subinterfaces:
RotatingClientCertificateManager

@Preview(name="mTLS") public interface ClientCertificateManager
A manager of ClientCertificate instances used by the driver for mTLS.

The driver uses the ClientCertificate supplied by the manager for setting up new connections. Therefore, a change of the certificate affects subsequent new connections only.

The manager must never return null. Exceptions must be emitted via the CompletionStage only.

All implementations of this interface must be thread-safe and non-blocking for caller threads. For instance, IO operations must not done on the calling thread.

Since:
5.19