Package com.ocient.jdbc
Class XGConnection.XGTrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
com.ocient.jdbc.XGConnection.XGTrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
- Enclosing class:
- XGConnection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certificates, String s) voidcheckClientTrusted(X509Certificate[] certificates, String s, Socket socket) voidcheckClientTrusted(X509Certificate[] certificates, String s, SSLEngine sslEngine) voidcheckServerTrusted(X509Certificate[] certificates, String s) voidcheckServerTrusted(X509Certificate[] certificates, String s, Socket socket) voidcheckServerTrusted(X509Certificate[] certificates, String s, SSLEngine sslEngine)
-
Constructor Details
-
XGTrustManager
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String s, SSLEngine sslEngine) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String s) throws CertificateException - Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String s, Socket socket) throws CertificateException - Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String s, SSLEngine sslEngine) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String s) throws CertificateException - Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String s, Socket socket) throws CertificateException - Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
getAcceptedIssuers
-