fetchCertificate method

Future<String> fetchCertificate(
  1. String host, {
  2. int port = 443,
  3. String? instanceId,
})

Fetches the TLS leaf certificate from host as a PEM string.

When instanceId is null, the global default instance is used.

Implementation

Future<String> fetchCertificate(String host,
    {int port = 443, String? instanceId}) {
  throw UnimplementedError('fetchCertificate() has not been implemented.');
}