public class MockX509TrustManager extends Object implements TrustManager
MockX509TrustManager is a mock implementation of the TrustManager
interface.| Constructor and Description |
|---|
MockX509TrustManager() |
| 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 the accepted issuers.
|
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
chain - the chainauthType - the auth typeCertificateException - the certificate exceptionpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
chain - the chainauthType - the auth typeCertificateException - the certificate exceptionpublic X509Certificate[] getAcceptedIssuers()
Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.