Class CertificateFileTrustStrategy
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.services.CertificateFileTrustStrategy
-
- All Implemented Interfaces:
org.apache.http.conn.ssl.TrustStrategy
,org.apache.http.ssl.TrustStrategy
public class CertificateFileTrustStrategy extends Object implements org.apache.http.conn.ssl.TrustStrategy
A trust strategy that accepts certificates that match the local copy of the endpoint's certificate.
-
-
Method Detail
-
isTrusted
public boolean isTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
isTrusted
in interfaceorg.apache.http.ssl.TrustStrategy
- Throws:
CertificateException
-
-