
public class XDI2X509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
XDI2X509TrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType) |
void |
checkServerTrusted(X509Certificate[] chain,
String authType) |
static void |
enable() |
static void |
enableTrustAll() |
X509Certificate[] |
getAcceptedIssuers() |
public 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 X509TrustManagerpublic static void enable()
public static void enableTrustAll()
throws NoSuchAlgorithmException,
KeyManagementException
Copyright © 2017. All rights reserved.