public static class SSLUtilities._FakeX509TrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
SSLUtilities._FakeX509TrustManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] arg0,
String arg1)
Deprecated.
|
void |
checkServerTrusted(X509Certificate[] arg0,
String arg1)
Deprecated.
|
X509Certificate[] |
getAcceptedIssuers()
Deprecated.
Return an empty array of certificate authority certificates which
are trusted for authenticating peers.
|
boolean |
isClientTrusted(X509Certificate[] chain)
Deprecated.
Always return true, trusting for client SSL
chain peer certificate chain.
|
boolean |
isServerTrusted(X509Certificate[] chain)
Deprecated.
Always return true, trusting for server SSL
chain peer certificate chain.
|
public SSLUtilities._FakeX509TrustManager()
public boolean isClientTrusted(X509Certificate[] chain)
chain
- the peer certificate chain.public boolean isServerTrusted(X509Certificate[] chain)
chain
- the peer certificate chain.public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
Copyright © 2013–2018. All rights reserved.