Package io.grpc.util

Class AdvancedTlsX509TrustManager

java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
io.grpc.util.AdvancedTlsX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

@IgnoreJRERequirement public final class AdvancedTlsX509TrustManager extends X509ExtendedTrustManager
AdvancedTlsX509TrustManager is an X509ExtendedTrustManager that allows users to configure advanced TLS features, such as root certificate reloading and peer cert custom verification. The basic instantiation pattern is new Builder().build().useSystemDefaultTrustCerts();

For Android users: this class is only supported in API level 24 and above.