java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths. It contains support for X.509 v3
certificates and X.509 v2 CRLs.
Package Specification
Related Documentation
For information about X.509 certificates and CRLs, 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. |
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. |
CertPathBuilder.java | Class | A class for building certification paths (also known as certificate chains).
This class uses a provider-based architecture.
To create a CertPathBuilder , call
one of the static getInstance methods, passing in the
algorithm name of the CertPathBuilder desired and optionally
the name of the provider desired.
Once a CertPathBuilder object has been created, certification
paths can be constructed by calling the
CertPathBuilder.build build method and
passing it an algorithm-specific set of parameters. |
CertPathBuilderException.java | Class | An exception indicating one of a variety of problems encountered when
building a certification path with a CertPathBuilder .
A CertPathBuilderException provides support for wrapping
exceptions. |
CertPathBuilderResult.java | Interface | A specification of the result of a certification path builder algorithm. |
CertPathBuilderSpi.java | Class | The Service Provider Interface (SPI)
for the
CertPathBuilder CertPathBuilder class. |
CertPathHelperImpl.java | Class | Helper class that allows the Sun CertPath provider to access
implementation dependent APIs in CertPath framework. |
CertPathParameters.java | Interface | A specification of certification path algorithm parameters.
The purpose of this interface is to group (and provide type safety for)
all CertPath parameter specifications. |
CertPathValidator.java | Class | A class for validating certification paths (also known as certificate
chains).
This class uses a provider-based architecture.
To create a CertPathValidator ,
call one of the static getInstance methods, passing in the
algorithm name of the CertPathValidator desired and
optionally the name of the provider desired. |
CertPathValidatorException.java | Class | An exception indicating one of a variety of problems encountered when
validating a certification path. |
CertPathValidatorResult.java | Interface | A specification of the result of a certification path validator algorithm.
The purpose of this interface is to group (and provide type safety
for) all certification path validator results. |
CertPathValidatorSpi.java | Class | The Service Provider Interface (SPI)
for the
CertPathValidator CertPathValidator class. |
CertSelector.java | Interface | A selector that defines a set of criteria for selecting
Certificate s. |
CertStore.java | Class | A class for retrieving Certificate s and CRL s
from a repository.
This class uses a provider-based architecture.
To create a CertStore , call one of the static
getInstance methods, passing in the type of
CertStore desired, any applicable initialization parameters
and optionally the name of the provider desired. |
CertStoreException.java | Class | An exception indicating one of a variety of problems retrieving
certificates and CRLs from a CertStore .
A CertStoreException provides support for wrapping
exceptions. |
CertStoreParameters.java | Interface | A specification of CertStore parameters.
The purpose of this interface is to group (and provide type safety for)
all CertStore parameter specifications. |
CertStoreSpi.java | Class | The Service Provider Interface (SPI)
for the
CertStore CertStore class. |
CollectionCertStoreParameters.java | Class | Parameters used as input for the Collection CertStore
algorithm.
This class is used to provide necessary configuration parameters
to implementations of the Collection CertStore
algorithm. |
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. |
CRLSelector.java | Interface | A selector that defines a set of criteria for selecting CRL s.
Classes that implement this interface are often used to specify
which CRL s should be retrieved from a CertStore .
Concurrent Access
Unless otherwise specified, the methods defined in this interface are not
thread-safe. |
LDAPCertStoreParameters.java | Class | Parameters used as input for the LDAP CertStore algorithm.
This class is used to provide necessary configuration parameters (server
name and port number) to implementations of the LDAP CertStore
algorithm.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not
thread-safe. |
PKIXBuilderParameters.java | Class | Parameters used as input for the PKIX CertPathBuilder
algorithm.
A PKIX CertPathBuilder uses these parameters to
CertPathBuilder.build build a CertPath which has been
validated according to the PKIX certification path validation algorithm.
To instantiate a PKIXBuilderParameters object, an
application must specify one or more most-trusted CAs as defined by
the PKIX certification path validation algorithm. |
PKIXCertPathBuilderResult.java | Class | This class represents the successful result of the PKIX certification
path builder algorithm. |
PKIXCertPathChecker.java | Class | An abstract class that performs one or more checks on an
X509Certificate . |
PKIXCertPathValidatorResult.java | Class | This class represents the successful result of the PKIX certification
path validation algorithm. |
PKIXParameters.java | Class | Parameters used as input for the PKIX CertPathValidator
algorithm. |
PolicyNode.java | Interface | An immutable valid policy tree node as defined by the PKIX certification
path validation algorithm.
One of the outputs of the PKIX certification path validation
algorithm is a valid policy tree, which includes the policies that
were determined to be valid, how this determination was reached,
and any policy qualifiers encountered. |
PolicyQualifierInfo.java | Class | An immutable policy qualifier represented by the ASN.1 PolicyQualifierInfo
structure.
The ASN.1 definition is as follows:
PolicyQualifierInfo ::= SEQUENCE {
policyQualifierId PolicyQualifierId,
qualifier ANY DEFINED BY policyQualifierId }
A certificate policies extension, if present in an X.509 version 3
certificate, contains a sequence of one or more policy information terms,
each of which consists of an object identifier (OID) and optional
qualifiers. |
TrustAnchor.java | Class | A trust anchor or most-trusted Certification Authority (CA).
This class represents a "most-trusted CA", which is used as a trust anchor
for validating X.509 certification paths. |
X509Certificate.java | Class |
Abstract class for X.509 certificates. |
X509CertSelector.java | Class | A CertSelector that selects X509Certificates that
match all specified criteria. |
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). |
X509CRLSelector.java | Class | A CRLSelector that selects X509CRLs that
match all specified criteria. |
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. |