Class CefriumSslError
java.lang.Object
com.cefrium.CefriumSslError
A certificate that failed validation, as
CefriumNavigationClient.onSslError(CefriumBrowser, CefriumSslError, CefriumBrowser.SslErrorCallback) sees it. Like
android.net.http.SslError, with the whole chain.-
Method Summary
Modifier and TypeMethodDescriptionThe server's certificate, or null when the engine gave none.The chain the server sent, its certificate first.intChromium's net error code for the failure, negative: -202 authority invalid, -201 date invalid, -200 name mismatch, ...getUrl()The URL whose certificate failed.
-
Method Details
-
getErrorCode
public int getErrorCode()Chromium's net error code for the failure, negative: -202 authority invalid, -201 date invalid, -200 name mismatch, ... Stable across engine versions (net_error_list.h). -
getUrl
The URL whose certificate failed. -
getCertificate
The server's certificate, or null when the engine gave none. -
getCertificateChain
The chain the server sent, its certificate first. Unmodifiable.
-