framework/base/src/org/ofbiz/base/util/TrustManagers.java
Avoid deeply nested control flow statements. Open
Open
if (issuer.equals(c)) {
if (Debug.verboseOn())
Debug.logInfo("--- Found trusted cert: " + issuer.getSerialNumber().toString(16) + " : " + issuer.getSubjectX500Principal(), module);
return true;
}
Avoid deeply nested control flow statements. Open
Open
if (Debug.verboseOn())
Debug.logInfo("Read certificate (chain) : " + ((X509Certificate) cert).getSubjectX500Principal().getName(), module);
Avoid deeply nested control flow statements. Open
Open
if (Debug.verboseOn())
Debug.logInfo("--- Checking cert: " + issuer.getSubjectX500Principal() + " vs " + c.getSubjectX500Principal(), module);