public class MyX509TrustManager extends Object implements X509TrustManager
Modifier and Type | Field and Description |
---|---|
String |
certKeystorePassword |
String |
keystoreUrl |
Constructor and Description |
---|
MyX509TrustManager(Options options)
MyX509TrustManager.
|
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String string)
Check client trusted.
|
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String string)
Check server trusted.
|
X509Certificate[] |
getAcceptedIssuers() |
public String keystoreUrl
public String certKeystorePassword
public void checkClientTrusted(X509Certificate[] x509Certificates, String string) throws CertificateException
checkClientTrusted
in interface X509TrustManager
x509Certificates
- certificatestring
- stringCertificateException
- exceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String string) throws CertificateException
checkServerTrusted
in interface X509TrustManager
x509Certificates
- certificatestring
- stringCertificateException
- exceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2016. All rights reserved.