Class ValidatingX509TrustManager

java.lang.Object
org.newsclub.net.unix.ssl.FilterX509TrustManager
org.newsclub.net.unix.ssl.ValidatingX509TrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager

public final class ValidatingX509TrustManager extends FilterX509TrustManager
A wrapping X509TrustManager that verifies each individual certificate in a chain, in addition to the successful validation by the wrapped X509TrustManager.

This could be useful in some scenarios where self-signed certificates are being used, or where the upstream TrustManager can't be fully trusted.

Author:
Christian Kohlschütter