android.net.http
Class SslError

java.lang.Object
  extended by android.net.http.SslError

public class SslError
extends Object


Field Summary
static int SSL_DATE_INVALID
           
static int SSL_EXPIRED
           
static int SSL_IDMISMATCH
           
static int SSL_INVALID
           
static int SSL_MAX_ERROR
           
static int SSL_NOTYETVALID
           
static int SSL_UNTRUSTED
           
 
Constructor Summary
SslError(int error, SslCertificate certificate)
           
SslError(int error, SslCertificate certificate, String url)
           
SslError(int error, X509Certificate certificate)
           
SslError(int error, X509Certificate certificate, String url)
           
 
Method Summary
 boolean addError(int error)
           
 SslCertificate getCertificate()
           
 int getPrimaryError()
           
 String getUrl()
           
 boolean hasError(int error)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SSL_NOTYETVALID

public static final int SSL_NOTYETVALID
See Also:
Constant Field Values

SSL_EXPIRED

public static final int SSL_EXPIRED
See Also:
Constant Field Values

SSL_IDMISMATCH

public static final int SSL_IDMISMATCH
See Also:
Constant Field Values

SSL_UNTRUSTED

public static final int SSL_UNTRUSTED
See Also:
Constant Field Values

SSL_DATE_INVALID

public static final int SSL_DATE_INVALID
See Also:
Constant Field Values

SSL_INVALID

public static final int SSL_INVALID
See Also:
Constant Field Values

SSL_MAX_ERROR

public static final int SSL_MAX_ERROR
See Also:
Constant Field Values
Constructor Detail

SslError

public SslError(int error,
                SslCertificate certificate)

SslError

public SslError(int error,
                X509Certificate certificate)

SslError

public SslError(int error,
                SslCertificate certificate,
                String url)

SslError

public SslError(int error,
                X509Certificate certificate,
                String url)
Method Detail

getCertificate

public SslCertificate getCertificate()

getUrl

public String getUrl()

addError

public boolean addError(int error)

hasError

public boolean hasError(int error)

getPrimaryError

public int getPrimaryError()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.