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
A
SslKeyConfig that 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()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
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.
-