public class AnyTrustManager extends Object implements X509TrustManager
Constructor and Description |
---|
AnyTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType)
Does nothing.
|
void |
checkServerTrusted(X509Certificate[] chain,
String authType)
Does nothing.
|
X509Certificate[] |
getAcceptedIssuers()
Always returns
null . |
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
chain
- the certificate chainauthType
- the authentication typeCertificateException
- never thrownpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
chain
- the certificate chainauthType
- the authentication typeCertificateException
- never thrownpublic X509Certificate[] getAcceptedIssuers()
null
.getAcceptedIssuers
in interface X509TrustManager
Copyright © 2015. All Rights Reserved.