SslErrorType class
Class that represents the SSL Primary error associated to the server SSL certificate. Used by the ServerTrustChallenge class.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNativeValue(
) → int? - Gets int? native value.
-
toString(
) → String -
A string representation of this object.
override
-
toValue(
) → String - Gets String value.
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
Static Properties
- DATE_INVALID → SslErrorType
-
The date of the certificate is invalid.
final
- DENY → SslErrorType
-
The user specified that the certificate should not be trusted.
final
- EXPIRED → SslErrorType
-
The certificate has expired.
final
- FATAL_TRUST_FAILURE → SslErrorType
-
Trust is denied and no simple fix is available.
final
- IDMISMATCH → SslErrorType
-
Hostname mismatch.
final
- INVALID → SslErrorType
-
Indicates an invalid setting or result. A generic error occurred.
final
- NOT_YET_VALID → SslErrorType
-
The certificate is not yet valid.
final
- OTHER_ERROR → SslErrorType
-
Indicates a failure other than that of trust evaluation.
final
- RECOVERABLE_TRUST_FAILURE → SslErrorType
-
Trust is denied, but recovery may be possible.
final
- UNSPECIFIED → SslErrorType
-
Indicates the evaluation succeeded and the certificate is implicitly trusted, but user intent was not explicitly specified.
final
- UNTRUSTED → SslErrorType
-
The certificate authority is not trusted.
final
-
values
→ Set<
SslErrorType> -
Set of all values of SslErrorType.
final
Static Methods
-
fromNativeValue(
int? value) → SslErrorType? - Gets a possible SslErrorType instance from a native value.
-
fromValue(
String? value) → SslErrorType? - Gets a possible SslErrorType instance from String value.