Class PermissiveTrustManager

  • All Implemented Interfaces:
    TrustManager, X509TrustManager

    public class PermissiveTrustManager
    extends Object
    implements X509TrustManager

    Trivial implementation of an X509TrustManager that does not check the hostname, validity date nor chain of authority of certificates.

    Useful when using an home-made self-signed certificate.