public class CustomX509TrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
CustomX509TrustManager(X509TrustManager defaultTrustManager) |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] certificates,
String authType) |
void |
checkServerTrusted(X509Certificate[] certificates,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public CustomX509TrustManager(X509TrustManager defaultTrustManager)
public void checkClientTrusted(X509Certificate[] certificates, String authType)
checkClientTrusted
in interface X509TrustManager
X509TrustManager.checkClientTrusted(X509Certificate[],String)
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
X509TrustManager.checkServerTrusted(X509Certificate[],String)
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
X509TrustManager.getAcceptedIssuers()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.