check

public abstract boolean check(SslCertificate sslCertificate)

Called to check whether the given SSL certificate should be trusted.

Return

true to trust the certificate; false to reject it

Parameters

sslCertificate

the SSL certificate to check