Package org.elasticsearch.common.ssl
Class EmptyKeyConfig
java.lang.Object
org.elasticsearch.common.ssl.EmptyKeyConfig
- All Implemented Interfaces:
SslKeyConfig
A
SslKeyConfig that does nothing (provides a null key manager)-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionList<org.elasticsearch.core.Tuple<PrivateKey,X509Certificate>> getKeys()booleantoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.ssl.SslKeyConfig
asTrustConfig
-
Field Details
-
INSTANCE
-
-
Method Details
-
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.
-
getKeys
- Specified by:
getKeysin interfaceSslKeyConfig- Returns:
- A list of private keys and their associated certificates
-
getConfiguredCertificates
- Specified by:
getConfiguredCertificatesin interfaceSslKeyConfig- Returns:
- A collection of
certificatesused by this config.
-
hasKeyMaterial
public boolean hasKeyMaterial()- Specified by:
hasKeyMaterialin interfaceSslKeyConfig
-
createKeyManager
- Specified by:
createKeyManagerin interfaceSslKeyConfig- Returns:
- A new
X509ExtendedKeyManager.
-
toString
-