Class PemTrustConfig

java.lang.Object
org.elasticsearch.common.ssl.PemTrustConfig
All Implemented Interfaces:
SslTrustConfig

public final class PemTrustConfig extends Object implements SslTrustConfig
A SslTrustConfig that reads a list of PEM encoded trusted certificates (CAs) from the file system. Strictly speaking, this class does not require PEM certificates, and will load any file that can be read by CertificateFactory.generateCertificate(InputStream).