onBadCertificate method

bool onBadCertificate(
  1. dynamic cert,
  2. dynamic comment
)

Implementation

bool onBadCertificate(cert, comment) {
  throw Exception("bad certificate");
}