public static class SingleCertValidatingFactory.SingleCertTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
SingleCertTrustManager(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public SingleCertTrustManager(InputStream in) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.