public class TrustAllTrustManager extends Object implements TrustManager, X509TrustManager
| 构造器和说明 |
|---|
TrustAllTrustManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType) |
void |
checkServerTrusted(X509Certificate[] certs,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers 在接口中 X509TrustManagerpublic void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkServerTrusted 在接口中 X509TrustManagerCertificateExceptionpublic void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkClientTrusted 在接口中 X509TrustManagerCertificateExceptionCopyright © 2023. All rights reserved.