public final class CertificateErrorParams
extends java.lang.Object
Constructor and Description |
---|
CertificateErrorParams(java.lang.String url, Certificate certificate, ResourceType resourceType, NetError certificateError) |
Modifier and Type | Method and Description |
---|---|
Certificate |
getCertificate()
Returns
返回带有有关有问题的SSL证书信息的Certificate对象。 Certificate object with the information about problematic SSL certificate.
|
NetError |
getCertificateError()
Returns network error code that describes the reason of SSL certificate error.
返回描述SSL证书错误原因的网络错误代码。 |
java.lang.String |
getRequestURL()
Returns a string that represents URL of the request that causes SSL certificate error.
返回一个字符串,该字符串表示导致SSL证书错误的请求的URL。 |
ResourceType |
getResourceType()
Returns type of the resource that has initiated the request.
返回发起请求的资源的类型。 |
public CertificateErrorParams(java.lang.String url, Certificate certificate, ResourceType resourceType, NetError certificateError)
public java.lang.String getRequestURL()
public ResourceType getResourceType()
public NetError getCertificateError()
public Certificate getCertificate()
Certificate
object with the information about problematic SSL certificate.