java.security.cert |
Provides classes and interfaces for parsing and managing
certificates. It contains support for X.509 v3 certificates.
Package Specification
- RFC 2459: X.509 Certificate and CRL Profile
Related Documentation
For information about X.509 certificates, please see:
@since 1.2
|
Java Source File Name | Type | Comment |
Certificate.java | Class | Abstract class for managing a variety of identity certificates.
An identity certificate is a binding of a principal to a public key which
is vouched for by another principal. |
CertificateEncodingException.java | Class | Certificate Encoding Exception. |
CertificateException.java | Class | This exception indicates one of a variety of certificate problems. |
CertificateExpiredException.java | Class | Certificate Expired Exception. |
CertificateFactory.java | Class | This class defines the functionality of a certificate factory, which is
used to generate certificate, certification path (CertPath )
and certificate revocation list (CRL) objects from their encodings.
For encodings consisting of multiple certificates, use
generateCertificates when you want to
parse a collection of possibly unrelated certificates.
A certificate factory for X.509 must return certificates that are an
instance of java.security.cert.X509Certificate , and CRLs
that are an instance of java.security.cert.X509CRL .
The following example reads a file with Base64 encoded certificates,
which are each bounded at the beginning by -----BEGIN CERTIFICATE-----, and
bounded at the end by -----END CERTIFICATE-----. |
CertificateFactorySpi.java | Class | This class defines the Service Provider Interface (SPI)
for the CertificateFactory class. |
CertificateNotYetValidException.java | Class | Certificate is not yet valid exception. |
CertificateParsingException.java | Class | Certificate Parsing Exception. |
CertPath.java | Class | An immutable sequence of certificates (a certification path).
This is an abstract class that defines the methods common to all
CertPath s. |
CRL.java | Class | This class is an abstraction of certificate revocation lists (CRLs) that
have different formats but important common uses. |
CRLException.java | Class | CRL (Certificate Revocation List) Exception. |
X509Certificate.java | Class |
Abstract class for X.509 certificates. |
X509CRL.java | Class |
Abstract class for an X.509 Certificate Revocation List (CRL).
A CRL is a time-stamped list identifying revoked certificates.
It is signed by a Certificate Authority (CA) and made freely
available in a public repository. |
X509CRLEntry.java | Class | Abstract class for a revoked certificate in a CRL (Certificate
Revocation List). |
X509Extension.java | Interface | Interface for an X.509 extension.
The extensions defined for X.509 v3
X509Certificate Certificates and v2
X509CRL CRLs (Certificate Revocation
Lists) provide methods
for associating additional attributes with users or public keys,
for managing the certification hierarchy, and for managing CRL
distribution. |