Java.Security.Cert Namespace

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

Remarks

This package provides all the classes and all the interfaces needed to generate, administer and verify X.509 certificates. Functionality for parsing certificate, extracting information from them, validating and verifying the information they contains are provided. Exception are generated mainly for three reasons:

- if the certificate's encoding is broken (CertificateEncodingException)

- if the certificate's time stamp is not valid (CertificateExpiredException)

- or if the validation's path is false (CertPathValidatorException).

The functionality to check the different entries and extension fields of X.509 certificates are also provided.

Classes

TypeReason
CertificateAbstract class to represent identity certificates.
Certificate+CertificateRepThe alternate Serializable class to be used for serialization and deserialization of Certificate objects.
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.
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.
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.
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.
CertPathBuilderExceptionThe exception that is thrown when a CertPathBuilder method fails.
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.
CertPathValidatorExceptionThe exception that is thrown when a certification path (or certificate chain) cannot be validated.
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.
CertStoreExceptionThe exception that is thrown when an access to a CertStore fails.
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.
CRLExceptionThe exception that is thrown if errors occur during handling of CRLs.
ICertPathBuilderResultThe interface for results generated by Java.Security.Cert.CertPathBuilder.Build(Java.Security.Cert.ICertPathParameters).
ICertPathParametersThe interface specification for certification path algorithm parameters.
ICertPathValidatorResultThe interface specification for certification path validation results.
ICertSelectorThe interface specification to determine whether a Certificate meets some criteria.
ICertStoreParametersThe marker interface specifying the parameters used to initialize a CertStore instance.
ICRLSelectorThe interface specification for determining whether a CRL meets some criteria to select CRL objects among a set of CRLs.
IPolicyNodeThe interface to a valid policy tree node for the PKIX certification path validation algorithm.
IX509ExtensionThe interface specifying an X.
LDAPCertStoreParametersThe parameters to initialize a LDAP CertStore instance.
PKIXBuilderParametersThe parameter specification for a PKIX CertPathBuilder algorithm used to Java.Security.Cert.CertPathBuilder.Build(Java.Security.Cert.ICertPathParameters) certificate chains validated with the PKIX certification path validation.
PKIXCertPathBuilderResultThe result of the PKIX certification path builder, returned by Java.Security.Cert.CertPathBuilder.Build(Java.Security.Cert.ICertPathParameters).
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.
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.