bool BadCertificateCallback(X509Certificate cr, String host, int port)

Source

typedef bool BadCertificateCallback(X509Certificate cr, String host, int port);