Class TestSslUtils.TestSslEngineFactory
java.lang.Object
org.apache.kafka.test.TestSslUtils.TestSslEngineFactory
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.Configurable, org.apache.kafka.common.security.auth.SslEngineFactory
- Enclosing class:
TestSslUtils
public static final class TestSslUtils.TestSslEngineFactory
extends Object
implements org.apache.kafka.common.security.auth.SslEngineFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcreateClientSslEngine(String peerHost, int peerPort, String endpointIdentification) createServerSslEngine(String peerHost, int peerPort) keystore()booleanshouldBeRebuilt(Map<String, Object> nextConfigs) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.common.security.auth.SslEngineFactory
setMetrics
-
Field Details
-
closed
public boolean closed
-
-
Constructor Details
-
TestSslEngineFactory
public TestSslEngineFactory()
-
-
Method Details
-
createClientSslEngine
-
createServerSslEngine
-
shouldBeRebuilt
-
reconfigurableConfigs
-
keystore
- Specified by:
keystorein interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
truststore
- Specified by:
truststorein interfaceorg.apache.kafka.common.security.auth.SslEngineFactory
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
configure
-