Interface CertificateValidationCompletionHandler
-
public interface CertificateValidationCompletionHandler
Interface to be implemented by applications to get the certificate validation result fromCertificateManager.validateCertificates(java.security.cert.X509Certificate[], CertificateValidationCompletionHandler)
,CertificateManager.validateCertificates(java.security.cert.X509Certificate[], String, String, int, CertificateValidationCompletionHandler)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(CertificateValidationException ex)
Certificate chain cannot be trusted due to the failures.void
onSuccess()
Reported when certificate chain is trusted.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Reported when certificate chain is trusted.
-
onError
void onError(CertificateValidationException ex)
Certificate chain cannot be trusted due to the failures.- Parameters:
ex
- Exception containing the reason of certificate trust validation failure.
-
-