Class SslFactory
java.lang.Object
io.confluent.kafka.schemaregistry.client.security.SslFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface to react when keystore or truststore is created, to emit metrics or log events. -
Constructor Summary
ConstructorsConstructorDescriptionSslFactory(Map<String, ?> configs) SslFactory(Map<String, ?> configs, SslFactory.SslFactoryCreated callback) -
Method Summary
Modifier and TypeMethodDescriptionprotected io.confluent.kafka.schemaregistry.client.security.SslFactory.SecurityStorecreateKeystore(String type, String path, org.apache.kafka.common.config.types.Password password, org.apache.kafka.common.config.types.Password keyPassword, org.apache.kafka.common.config.types.Password privateKey, org.apache.kafka.common.config.types.Password certificateChain) Returns a configured SSLContext.
-
Constructor Details
-
SslFactory
-
SslFactory
-
-
Method Details
-
sslContext
Returns a configured SSLContext.- Returns:
- SSLContext.
-
createKeystore
protected io.confluent.kafka.schemaregistry.client.security.SslFactory.SecurityStore createKeystore(String type, String path, org.apache.kafka.common.config.types.Password password, org.apache.kafka.common.config.types.Password keyPassword, org.apache.kafka.common.config.types.Password privateKey, org.apache.kafka.common.config.types.Password certificateChain)
-