Package com.intuit.karate.http
Class LenientTrustManager
- java.lang.Object
-
- javax.net.ssl.X509ExtendedTrustManager
-
- com.intuit.karate.http.LenientTrustManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class LenientTrustManager extends X509ExtendedTrustManager
- Author:
- pthomas3
-
-
Field Summary
Fields Modifier and Type Field Description static LenientTrustManagerINSTANCE
-
Constructor Summary
Constructors Constructor Description LenientTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(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)X509Certificate[]getAcceptedIssuers()
-
-
-
Field Detail
-
INSTANCE
public static final LenientTrustManager INSTANCE
-
-
Method Detail
-
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
public void checkClientTrusted(X509Certificate[] xcs, String string) throws CertificateException
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
-
-