com.quorum.tessera.ssl.trust.TrustAllManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security Show documentation
Show all versions of security Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
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