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 X509TrustManager
chain
- certificate chainauthType
- authentication typeCertificateException
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
chain
- certificate chainauthType
- authentication typeCertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2012–2015 Trajano. All rights reserved.