android.net.http
Class SslCertificate

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

public class SslCertificate
extends Object


Nested Class Summary
 class SslCertificate.DName
           
 
Constructor Summary
SslCertificate(String issuedTo, String issuedBy, Date validNotBefore, Date validNotAfter)
           
SslCertificate(String issuedTo, String issuedBy, String validNotBefore, String validNotAfter)
           
SslCertificate(X509Certificate certificate)
           
 
Method Summary
 SslCertificate.DName getIssuedBy()
           
 SslCertificate.DName getIssuedTo()
           
 String getValidNotAfter()
           
 Date getValidNotAfterDate()
           
 String getValidNotBefore()
           
 Date getValidNotBeforeDate()
           
static SslCertificate restoreState(Bundle bundle)
           
static Bundle saveState(SslCertificate certificate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SslCertificate

public SslCertificate(String issuedTo,
                      String issuedBy,
                      String validNotBefore,
                      String validNotAfter)

SslCertificate

public SslCertificate(String issuedTo,
                      String issuedBy,
                      Date validNotBefore,
                      Date validNotAfter)

SslCertificate

public SslCertificate(X509Certificate certificate)
Method Detail

saveState

public static Bundle saveState(SslCertificate certificate)

restoreState

public static SslCertificate restoreState(Bundle bundle)

getValidNotBeforeDate

public Date getValidNotBeforeDate()

getValidNotBefore

public String getValidNotBefore()

getValidNotAfterDate

public Date getValidNotAfterDate()

getValidNotAfter

public String getValidNotAfter()

getIssuedTo

public SslCertificate.DName getIssuedTo()

getIssuedBy

public SslCertificate.DName getIssuedBy()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.