Package de.gematik.test.tiger.testenvmgr
Class InsecureRestorableTrustAllManager
- java.lang.Object
-
- de.gematik.test.tiger.testenvmgr.InsecureRestorableTrustAllManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class InsecureRestorableTrustAllManager extends Object implements X509TrustManager
-
-
Constructor Summary
Constructors Constructor Description InsecureRestorableTrustAllManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidallowAllSSL()voidcheckClientTrusted(X509Certificate[] x509Certificates, String s)voidcheckServerTrusted(X509Certificate[] x509Certificates, String s)X509Certificate[]getAcceptedIssuers()static voidrestoreContext()static voidsaveContext()
-
-
-
Method Detail
-
saveContext
public static void saveContext()
-
restoreContext
public static void restoreContext()
-
allowAllSSL
public static void allowAllSSL()
-
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
-
-