Package org.eclipse.jgit.transport.http
Class NoCheckX509TrustManager
- java.lang.Object
-
- org.eclipse.jgit.transport.http.NoCheckX509TrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class NoCheckX509TrustManager extends Object implements X509TrustManager
AX509TrustManager
that doesn't verify anything. Can be used for skipping SSL checks.- Since:
- 5.11
-
-
Constructor Summary
Constructors Constructor Description NoCheckX509TrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] certs, String authType)
void
checkServerTrusted(X509Certificate[] certs, String authType)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
-