UNSPECIFIED property

SslErrorType UNSPECIFIED
final

Indicates the evaluation succeeded and the certificate is implicitly trusted, but user intent was not explicitly specified.

This value indicates that evaluation reached an (implicitly trusted) anchor certificate without any evaluation failures, but never encountered any explicitly stated user-trust preference. This is the most common return value. The Keychain Access utility refers to this value as the “Use System Policy,” which is the default user setting.

When receiving this value, most apps should trust the chain.

Officially Supported Platforms/Implementations:

Implementation

static final UNSPECIFIED =
    SslErrorType._internalMultiPlatform('UNSPECIFIED', () {
  switch (defaultTargetPlatform) {
    case TargetPlatform.iOS:
      return 4;
    case TargetPlatform.macOS:
      return 4;
    default:
      break;
  }
  return null;
});