| java.lang.Object | |
| ↳ | android.net.http.SslError |
One or more individual SSL errors and the associated SSL certificate
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | SSL_EXPIRED | The certificate has expired | |||||||||
| int | SSL_IDMISMATCH | Hostname mismatch | |||||||||
| int | SSL_MAX_ERROR | The number of different SSL errors (update if you add a new SSL error!!!) | |||||||||
| int | SSL_NOTYETVALID | The certificate is not yet valid | |||||||||
| int | SSL_UNTRUSTED | The certificate authority is not trusted | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new SSL error set object
| |||||||||||
Creates a new SSL error set object
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds the SSL error to the error set
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
The certificate has expired
Hostname mismatch
The number of different SSL errors (update if you add a new SSL error!!!)
The certificate is not yet valid
The certificate authority is not trusted
Creates a new SSL error set object
| error | The SSL error |
|---|---|
| certificate | The associated SSL certificate |
Creates a new SSL error set object
| error | The SSL error |
|---|---|
| certificate | The associated SSL certificate |
Adds the SSL error to the error set
| error | The SSL error to add |
|---|
| error | The SSL error to check |
|---|
Returns a string containing a concise, human-readable description of this
object. Subclasses are encouraged to override this method and provide an
implementation that takes into account the object's type and data. The
default implementation simply concatenates the class name, the '@' sign
and a hexadecimal representation of the object's hashCode(),
that is, it is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())