public static class UtilSSLSocketFactory.TrustingX509TrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
TrustingX509TrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] cert,
String authType)
Doesn't throw an exception, so this is how it approves a certificate.
|
void |
checkServerTrusted(X509Certificate[] cert,
String authType)
Doesn't throw an exception, so this is how it approves a certificate.
|
X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(X509Certificate[] cert, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[],
String)
public void checkServerTrusted(X509Certificate[] cert, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[],
String)
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
X509TrustManager.getAcceptedIssuers()
Copyright © 2010–2020 Leon Blakey. All rights reserved.