File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\cli\src\main\java\hudson\cli\NoCheckTrustManager.java.html

1 package hudson.cli;
2
3 import javax.net.ssl.TrustManager;
4 import java.security.cert.CertificateException;
5 import java.security.cert.X509Certificate;
6
7 /**
8 * @author Kohsuke Kawaguchi
9 */
10 public class NoCheckTrustManager implements TrustManager {
11 public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
12 }
13
14 public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException {
15 }
16
17 public X509Certificate[] getAcceptedIssuers() {
18 return new X509Certificate[0];
19 }
20 }
21