Java android.net.http SslError fields, constructors, methods, implement or subclass

Example usage for Java android.net.http SslError fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.net.http SslError.

The text is from its open source code.

Field

intSSL_NOTYETVALID
The certificate is not yet valid
intSSL_EXPIRED
The certificate has expired
intSSL_IDMISMATCH
Hostname mismatch
intSSL_UNTRUSTED
The certificate authority is not trusted

Constructor

SslError(int error, SslCertificate certificate)
Creates a new SslError object using the supplied error and certificate.
SslError(int error, X509Certificate certificate)
Creates a new SslError object using the supplied error and certificate.

Method

SslCertificategetCertificate()
Gets the SSL certificate associated with this object.
intgetPrimaryError()
Gets the most severe SSL error in this object's set of errors.
StringgetUrl()
Gets the URL associated with this object.
StringtoString()
Returns a string representation of this object.