
public class NullX509TrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
NullX509TrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] chain,
String authType)
Does nothing.
|
void |
checkServerTrusted(X509Certificate[] chain,
String authType)
Does nothing.
|
X509Certificate[] |
getAcceptedIssuers()
Gets a list of accepted issuers.
|
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerchain - certificate chainauthType - authentication typeCertificateExceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerchain - certificate chainauthType - authentication typeCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2012–2015 Trajano. All rights reserved.