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

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
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

COMMON_NAME_IS_INCORRECT SslErrorType
Indicates that the SSL certificate common name does not match the web address.
final
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
REVOKED SslErrorType
Indicates that the SSL certificate has been revoked.
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

asNameMap() Map<String, SslErrorType>
Creates a map from the names of SslErrorType values to the values.
byName(String? name) SslErrorType?
Gets a possible SslErrorType instance value with name name.
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.