TrustManager
, X509TrustManager
public class MyTrustManager extends Object implements X509TrustManager
Constructor | Description |
---|---|
MyTrustManager() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType) |
|
void |
checkServerTrusted(X509Certificate[] certs,
String authType) |
|
X509Certificate[] |
getAcceptedIssuers() |
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
Copyright © 2018. All rights reserved.