Package de.gematik.test.tiger.testenvmgr
Class InsecureTrustAllManager
- java.lang.Object
-
- de.gematik.test.tiger.testenvmgr.InsecureTrustAllManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class InsecureTrustAllManager extends Object implements X509TrustManager
-
-
Constructor Summary
Constructors Constructor Description InsecureTrustAllManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidallowAllSsl(URLConnection urlConnection)voidcheckClientTrusted(X509Certificate[] x509Certificates, String s)voidcheckServerTrusted(X509Certificate[] x509Certificates, String s)X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
allowAllSsl
public static void allowAllSsl(URLConnection urlConnection)
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s)
- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s)
- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
-