public class MariaDbX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
MariaDbX509TrustManager(Options options)
MyX509TrustManager.
|
| 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 MariaDbX509TrustManager(Options options) throws SQLException
options - parsed url optionsSQLException - 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 © 2019 mariadb.org. All rights reserved.