ValidateCertificate typedef

ValidateCertificate = bool Function(X509Certificate? certificate, String host, int port)

Implementation

typedef ValidateCertificate = bool Function(
  X509Certificate? certificate,
  String host,
  int port,
);