Class TrustEverythingTrustManager

  • All Implemented Interfaces:
    TrustManager, X509TrustManager

    public class TrustEverythingTrustManager
    extends Object
    implements X509TrustManager
    Convenience class providing a default implementation of X509TrustManager. Trusts every single certificate presented to it. This implementation does not perform peer verification and provides no protection against Man-in-the-Middle (MITM) attacks and therefore only suitable for some development and QA environments.