Since: API Level 1
package

java.security.cert

Classes | Description

This package provides all the classes and all the interfaces needed to generate, administer and verify X.509 certificates.

more...

Interfaces

CertPathBuilderResultThe interface for results generated by build(CertPathParameters)
CertPathParametersThe interface specification for certification path algorithm parameters. 
CertPathValidatorResultThe interface specification for certification path validation results. 
CertSelectorThe interface specification to determine whether a Certificate meets some criteria. 
CertStoreParametersThe marker interface specifying the parameters used to initialize a CertStore instance. 
CRLSelectorThe interface specification for determining whether a CRL meets some criteria to select CRL objects among a set of CRLs. 
PolicyNodeThe interface to a valid policy tree node for the PKIX certification path validation algorithm. 
X509ExtensionThe interface specifying an X.509 Certificate or CRL extension. 

Classes

CertificateAbstract class to represent identity certificates. 
Certificate.CertificateRepThe alternate Serializable class to be used for serialization and deserialization of Certificate objects. 
CertificateFactoryThis class implements the functionality of a certificate factory algorithm, relying on parsing a stream of bytes. 
CertificateFactorySpiThis class defines the Service Provider Interface (SPI) for the CertificateFactory class. 
CertPathAn immutable certificate path that can be validated. 
CertPath.CertPathRepThe alternate Serializable class to be used for serialization and deserialization on CertPath objects. 
CertPathBuilderThis class implements the functionality of a builder for an unverified Certification Paths from a specified certificate to a trust anchor. 
CertPathBuilderSpiThe Service Provider Interface (SPI) for the CertPathBuilder class to be implemented by security providers. 
CertPathValidatorThis class provides the functionality for validating certification paths (certificate chains) establishing a trust chain from a certificate to a trust anchor. 
CertPathValidatorSpiThe Service Provider Interface (SPI) for the CertPathValidator class to be implemented by security providers. 
CertStoreThis class provides the functionality to retrieve Certificates and CRLs from a read-only repository. 
CertStoreSpiThe Service Provider Interface (SPI) definition for the CertStore class to be implemented by security providers. 
CollectionCertStoreParametersThe parameters to initialize a Collection type CertStore instance. 
CRLThis class represents Certificate Revocation Lists (CRLs) maintained by a certificate authority. 
LDAPCertStoreParametersThe parameters to initialize a LDAP CertStore instance. 
PKIXBuilderParametersThe parameter specification for a PKIX CertPathBuilder algorithm used to build certificate chains validated with the PKIX certification path validation. 
PKIXCertPathBuilderResultThe result of the PKIX certification path builder, returned by build(CertPathParameters)
PKIXCertPathCheckerThe class specifying the interface to extend the certification path validation algorithm by checks to perform on an X509Certificate
PKIXCertPathValidatorResultThe implementation of the result of the PKIX certification path validation. 
PKIXParametersThis class implements the parameters for the PKIX CertPathValidator
PolicyQualifierInfoThis class implements a policy qualifier as defined by the ASN.1 PolicyQualifierInfo structure. 
TrustAnchorThis class represents a trust anchor for validation of X.509 certification path. 
X509CertificateAbstract base class for X.509 certificates. 
X509CertSelectorA certificate selector (CertSelector for selecting X509Certificates that match the specified criteria. 
X509CRLAbstract base class for X.509 certificate revocation lists (CRL). 
X509CRLEntryAbstract base class for entries in a certificate revocation list (CRL). 
X509CRLSelectorA CRL selector (CRLSelector for selecting X509CRLs that match the specified criteria. 

Exceptions

CertificateEncodingExceptionThe exception that is thrown when an error occurs while a Certificate is being encoded. 
CertificateExceptionThe base class for all Certificate related exceptions. 
CertificateExpiredExceptionThe exception that is thrown when a Certificate has expired. 
CertificateNotYetValidExceptionThe exception that is thrown when a Certificate is not yet valid or will not yet be valid on a specified date. 
CertificateParsingExceptionThe exception that is thrown when a Certificate can not be parsed. 
CertPathBuilderExceptionThe exception that is thrown when a CertPathBuilder method fails. 
CertPathValidatorExceptionThe exception that is thrown when a certification path (or certificate chain) cannot be validated. 
CertStoreExceptionThe exception that is thrown when an access to a CertStore fails. 
CRLExceptionThe exception that is thrown if errors occur during handling of CRLs.