Class DummyTrustManager

  • All Implemented Interfaces:
    TrustManager, X509TrustManager

    public class DummyTrustManager
    extends Object
    implements X509TrustManager
    A dummy implementation for a trust manager. Accepts all certificates. Should never be used within of other applications where trust matters. Not sure where this code was initially from. Probably copied from this project gist: https://gist.github.com/matthewromano/4178946
    Author:
    Tobias Neitzel (@qtc_de)