AndroidSslError class Null safety
Class that represents the Android-specific primary error associated to the server SSL certificate. Used by the ServerTrustChallenge class.
Properties
- hashCode → int
-
The hash code for this object.
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toValue(
) → int
Operators
-
operator ==(
Object value) → bool -
The equality operator.
override
Static Properties
-
values
→ Set<
AndroidSslError> -
final
Static Methods
-
fromValue(
int? value) → AndroidSslError?
Constants
- SSL_DATE_INVALID → const AndroidSslError
-
The date of the certificate is invalid
const AndroidSslError._internal(4)
- SSL_EXPIRED → const AndroidSslError
-
The certificate has expired
const AndroidSslError._internal(1)
- SSL_IDMISMATCH → const AndroidSslError
-
Hostname mismatch
const AndroidSslError._internal(2)
- SSL_INVALID → const AndroidSslError
-
A generic error occurred
const AndroidSslError._internal(5)
- SSL_NOTYETVALID → const AndroidSslError
-
The certificate is not yet valid
const AndroidSslError._internal(0)
- SSL_UNTRUSTED → const AndroidSslError
-
The certificate authority is not trusted
const AndroidSslError._internal(3)