Package org.ovirt.engine.sdk4.internal
Class NoCaTrustManager
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.NoCaTrustManager
-
- All Implemented Interfaces:
TrustManager
,X509TrustManager
public class NoCaTrustManager extends Object implements X509TrustManager
This TrustManager used to ignore CA cert validation and should not be used unless user explicitly asks to ignore host identity validation.
-
-
Constructor Summary
Constructors Constructor Description NoCaTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkClientTrusted(X509Certificate[] chain, String authType)
void
checkServerTrusted(X509Certificate[] chain, String authType)
X509Certificate[]
getAcceptedIssuers()
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-
-