wasIssuedFor method

bool wasIssuedFor({
  1. required String? hostname,
  2. required String domain,
  3. required bool wildcard,
  4. required bool production,
})

Returns true if this certificate was issued for the given hostname, domain and is or isn't a wildcard certificate. Returns true if this certificate was issued for the given hostname, domain and is or isn't a wildcard certificate.

Implementation

bool wasIssuedFor(
        {required String? hostname,
        required String domain,
        required bool wildcard,
        required bool production}) =>
    matches(
        certificate: this,
        wildcard: wildcard,
        hostname: hostname,
        domain: domain,
        production: production);