Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
package

javax.security.cert

This package is provided only for compatibility reasons. It contains a simplified version of the java.security.cert package that was previously used by JSSE (Java SSL package). All applications that do not have to be compatible with older versions of JSSE (that is before Java SDK 1.5) should only use java.security.cert.

Classes

Certificate Abstract class to represent identity certificates. 
X509Certificate Abstract base class for X.509 certificates. 

Exceptions

CertificateEncodingException The exception that is thrown when an error occurs while a Certificate is being encoded. 
CertificateException The base class for all Certificate related exceptions. 
CertificateExpiredException The exception that is thrown when a Certificate has expired. 
CertificateNotYetValidException The exception that is thrown when a Certificate is not yet valid. 
CertificateParsingException The exception that is thrown when a Certificate can not be parsed.