Package com.intuit.karate.http
Class LenientTrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
com.intuit.karate.http.LenientTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
- Author:
- pthomas3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] xcs, String string) voidcheckClientTrusted(X509Certificate[] xcs, String string, Socket socket) voidcheckClientTrusted(X509Certificate[] xcs, String string, SSLEngine ssle) voidcheckServerTrusted(X509Certificate[] xcs, String string) voidcheckServerTrusted(X509Certificate[] xcs, String string, Socket socket) voidcheckServerTrusted(X509Certificate[] xcs, String string, SSLEngine ssle)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LenientTrustManager
public LenientTrustManager()
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] xcs, String string, Socket socket) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] xcs, String string, Socket socket) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] xcs, String string, SSLEngine ssle) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] xcs, String string, SSLEngine ssle) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
- Throws:
CertificateException
-
checkServerTrusted
- Throws:
CertificateException
-
getAcceptedIssuers
-