OnBadCertificate typedef
OnBadCertificate =
bool Function(X509Certificate certificate)
Return true
to trust the certificate or false
to consider it bad.
Implementation
typedef bool OnBadCertificate(X509Certificate certificate);