Interface CertificateValidationCompletionHandler
-
public interface CertificateValidationCompletionHandlerInterface 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 voidonError(CertificateValidationException ex)Certificate chain cannot be trusted due to the failures.voidonSuccess()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.
-
-