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

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

Go to download

Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.

There is a newer version: 24.4.2
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