Interface TlsCredentials


public interface TlsCredentials

Represents TLS credentials (private key and certificate chain) that can be used for server-side TLS connections.

This interface is intentionally empty as it serves as a marker interface. The runtime implementation will contain the actual credential data and provide necessary integration with the underlying TLS/SSL infrastructure.

Plugin developers should not implement this interface directly. Instead, implementations are provided by the Kroxylicious runtime when TLS credentials are successfully loaded from the configured source.

Usage Example


 // Created via the context factory method
 TlsCredentials credentials = context.tlsCredentials(privateKey, certificateChain);

 // Returned to the runtime via CompletionStage
 return CompletableFuture.completedFuture(credentials);