public class SingleStoreX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
SingleStoreX509TrustManager(KeyStore ks,
ExceptionFactory exceptionFactory)
SingleStoreX509TrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String string)
Check client trusted.
|
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String string)
Check server trusted.
|
X509Certificate[] |
getAcceptedIssuers() |
public SingleStoreX509TrustManager(KeyStore ks, ExceptionFactory exceptionFactory) throws SQLException
ks - KeyStore containing the trusted server certificatesexceptionFactory - exception factorySQLException - exceptionpublic void checkClientTrusted(X509Certificate[] x509Certificates, String string) throws CertificateException
checkClientTrusted in interface X509TrustManagerx509Certificates - certificatestring - stringCertificateException - exceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String string) throws CertificateException
checkServerTrusted in interface X509TrustManagerx509Certificates - certificatestring - stringCertificateException - exceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2022 SingleStore. All rights reserved.