public class CertValidatorTrustManager extends Object implements X509TrustManager
| Constructor and Description |
|---|
CertValidatorTrustManager(CertificateValidator validator)
Constructor for CertValidatorTrustManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType) |
void |
checkServerTrusted(X509Certificate[] certs,
String authType) |
X509Certificate[] |
getAcceptedIssuers() |
public CertValidatorTrustManager(CertificateValidator validator)
Constructor for CertValidatorTrustManager.
validator - a CertificateValidator
object.public void checkClientTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkClientTrusted in interface X509TrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException
checkServerTrusted in interface X509TrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface X509TrustManagerCopyright © 2026. All rights reserved.