java.lang.Object
org.elasticsearch.common.ssl.CompositeTrustConfig
- All Implemented Interfaces:
SslTrustConfig
A TrustConfiguration that merges trust anchors from a number of other trust configs to produce a single
X509ExtendedTrustManager.-
Method Summary
Modifier and TypeMethodDescriptionbooleanCollection<? extends StoredCertificate> inthashCode()booleantoString()
-
Method Details
-
getDependentFiles
- Specified by:
getDependentFilesin interfaceSslTrustConfig- Returns:
- A collection of files that are read by this config object.
The
SslTrustConfig.createTrustManager()method will read these files dynamically, so the behaviour of this trust config may change if any of these files are modified.
-
isSystemDefault
public boolean isSystemDefault()- Specified by:
isSystemDefaultin interfaceSslTrustConfig- Returns:
trueif this trust config is based on the system default truststore
-
createTrustManager
- Specified by:
createTrustManagerin interfaceSslTrustConfig- Returns:
- A new
X509ExtendedTrustManager.
-
getConfiguredCertificates
- Specified by:
getConfiguredCertificatesin interfaceSslTrustConfig- Returns:
- A collection of
certificatesused by this config, excluding those shipped with the JDK
-
equals
-
hashCode
public int hashCode() -
toString
-