DENY property
final
The user specified that the certificate should not be trusted.
This value indicates that the user explicitly chose to not trust a certificate in the chain, usually by clicking the appropriate button in a certificate trust panel. Your app should not trust the chain. The Keychain Access utility refers to this value as "Never Trust."
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - SecTrustResultType.deny)
- macOS WKWebView (Official API - SecTrustResultType.deny)
Implementation
static final DENY = SslErrorType._internalMultiPlatform('DENY', () {
switch (defaultTargetPlatform) {
case TargetPlatform.iOS:
return 3;
case TargetPlatform.macOS:
return 3;
default:
break;
}
return null;
});