org.projectodd.openwhisk.MyX509TrustManager Maven / Gradle / Ivy
package org.projectodd.openwhisk;
import javax.net.ssl.X509TrustManager;
class MyX509TrustManager implements X509TrustManager {
@Override
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) {
}
@Override
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) {
}
@Override
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return new java.security.cert.X509Certificate[]{};
}
}