| com.tencent.smtt.export.external.interfaces.SslError |
This class represents a set of one or more SSL errors and the associated SSL certificate.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean |
addError(int error)
Adds the supplied SSL error to the set.
| ||||||||||
| abstract SslCertificate |
getCertificate()
Gets the SSL certificate associated with this object.
| ||||||||||
| abstract int |
getPrimaryError()
Gets the most severe SSL error in this object's set of errors.
| ||||||||||
| abstract String |
getUrl()
Gets the URL associated with this object.
| ||||||||||
| abstract boolean |
hasError(int error)
Determines whether this object includes the supplied error.
| ||||||||||
Adds the supplied SSL error to the set.
| error | The SSL error to add |
|---|
Gets the SSL certificate associated with this object.
Gets the most severe SSL error in this object's set of errors. Returns -1 if the set is empty.
Gets the URL associated with this object.
Determines whether this object includes the supplied error.
| error | The SSL error to check for |
|---|