Class DefaultTrustManager
- java.lang.Object
-
- org.eclipse.basyx.vab.protocol.https.DefaultTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class DefaultTrustManager extends Object implements X509TrustManager
A Default Trust manager class which trusts everything Used for testing with self signed certificate- Author:
- haque
-
-
Constructor Summary
Constructors Constructor Description DefaultTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] x509Certificates, String s)
void
checkServerTrusted(X509Certificate[] x509Certificates, String s)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String s)
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String s)
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-