All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.quorum.tessera.ssl.trust.TrustAllManager Maven / Gradle / Ivy

There is a newer version: 0.11.0.30092019161842
Show newest version
package com.quorum.tessera.ssl.trust;

import java.security.cert.X509Certificate;

public class TrustAllManager extends AbstractTrustManager {

    @Override
    public void checkClientTrusted(X509Certificate[] x509Certificates, String s) {
        //Do nothing, let all pass
    }

    @Override
    public void checkServerTrusted(X509Certificate[] x509Certificates, String s) {
        //Do nothing, let all pass
    }

    @Override
    public X509Certificate[] getAcceptedIssuers() {
        return new X509Certificate[0];
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy