Package org.elasticsearch.common.ssl
Class StoreKeyConfig
- java.lang.Object
-
- org.elasticsearch.common.ssl.StoreKeyConfig
-
- All Implemented Interfaces:
SslKeyConfig
public class StoreKeyConfig extends java.lang.Object implements SslKeyConfig
ASslKeyConfigthat builds a Key Manager from a keystore file.
-
-
Method Summary
Modifier and Type Method Description javax.net.ssl.X509ExtendedKeyManagercreateKeyManager()java.util.Collection<java.nio.file.Path>getDependentFiles()
-
-
-
Method Detail
-
getDependentFiles
public java.util.Collection<java.nio.file.Path> getDependentFiles()
- Specified by:
getDependentFilesin interfaceSslKeyConfig- Returns:
- A collection of files that are read by this config object.
The
SslKeyConfig.createKeyManager()method will read these files dynamically, so the behaviour of this key config may change whenever any of these files are modified.
-
createKeyManager
public javax.net.ssl.X509ExtendedKeyManager createKeyManager()
- Specified by:
createKeyManagerin interfaceSslKeyConfig- Returns:
- A new
X509ExtendedKeyManager.
-
-