Package io.kroxylicious.proxy.tls
Interface ClientTlsContext
public interface ClientTlsContext
Exposes TLS information about the client-to-proxy connection to plugins, for example using
FilterContext.clientTlsContext().
This is implemented by the runtime for use by plugins.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
proxyServerCertificate
X509Certificate proxyServerCertificate()- Returns:
- The TLS server certificate that the proxy presented to the client during TLS handshake.
-
clientCertificate
Optional<X509Certificate> clientCertificate()- Returns:
- the client's certificate, or empty if no TLS client certificate was presented during TLS handshake.
-