java.lang.Object | |
↳ | android.net.http.SslCertificate |
SSL certificate info (certificate details) class
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SslCertificate.DName | A distinguished name helper class: a 3-tuple of:
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor was deprecated
in API level 8.
Use
SslCertificate(X509Certificate)
| |||||||||||
This constructor was deprecated
in API level 12.
Use
SslCertificate(X509Certificate)
| |||||||||||
Creates a new SSL certificate object from an X509 certificate
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method was deprecated
in API level 8.
Use
getValidNotAfterDate()
| |||||||||||
This method was deprecated
in API level 8.
Use
getValidNotBeforeDate()
| |||||||||||
Restores the certificate stored in the bundle
| |||||||||||
Saves the certificate state to a bundle
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constructor was deprecated
in API level 8.
Use SslCertificate(X509Certificate)
Creates a new SSL certificate object
issuedTo | The entity this certificate is issued to |
---|---|
issuedBy | The entity that issued this certificate |
validNotBefore | The not-before date from the certificate validity period in ISO 8601 format |
validNotAfter | The not-after date from the certificate validity period in ISO 8601 format |
This constructor was deprecated
in API level 12.
Use SslCertificate(X509Certificate)
Creates a new SSL certificate object
issuedTo | The entity this certificate is issued to |
---|---|
issuedBy | The entity that issued this certificate |
validNotBefore | The not-before date from the certificate validity period |
validNotAfter | The not-after date from the certificate validity period |
Creates a new SSL certificate object from an X509 certificate
certificate | X509 certificate |
---|
This method was deprecated
in API level 8.
Use getValidNotAfterDate()
This method was deprecated
in API level 8.
Use getValidNotBeforeDate()
Restores the certificate stored in the bundle
bundle | The bundle with the certificate state stored in it |
---|
Saves the certificate state to a bundle
certificate | The SSL certificate to store |
---|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.