Package org.elasticsearch.common.ssl
Interface SslTrustConfig
- All Known Implementing Classes:
PemTrustConfig
public interface SslTrustConfig
An interface for building a trust manager at runtime.
The method for constructing the trust manager is implementation dependent.
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getDependentFiles
Collection<Path> getDependentFiles()- Returns:
- A collection of files that are read by this config object.
The
createTrustManager()method will read these files dynamically, so the behaviour of this trust config may change if any of these files are modified.
-
createTrustManager
X509ExtendedTrustManager createTrustManager()- Returns:
- A new
X509ExtendedTrustManager. - Throws:
SslConfigException- if there is a problem configuring the trust manager.
-