Package java.security.cert | | The java.security.cert package contains classes for working with identity certificates, certificate chains (also known as certification paths) and certificate revocation lists (CRLs). It defines generic Certificate and CRL classes and also X509Certificate and X509CRL classes that provide full support for standard X.509 certificates and CRLs. The CertPath class represents a certificate chain, and CertPathValidator provides the ability to validate a certificate chain. The CertificateFactory class serves as a certificate parser, providing the ability to convert a stream of bytes (or the base64 encoding of those bytes) into a Certificate , a CertPath or a CRL object. In addition to the algorithm-independent API of CertificateFactory , this package also defines low-level algorithm-specific classes for working with certificate chains using the PKIX standards. This package replaces the deprecated java.security.Certificate interface, and it also replaces the deprecated javax.security.cert package used by early versions of the JAAS API before javax.security.auth and its subpackages were added to the core Java platform. Interfaces public interface CertPathBuilderResult extends Cloneable; public interface CertPathParameters extends Cloneable; public interface CertPathValidatorResult extends Cloneable; public interface CertSelector extends Cloneable; public interface CertStoreParameters extends Cloneable; public interface CRLSelector extends Cloneable; public interface PolicyNode ; public interface X509Extension ; Classes public abstract class Certificate implements Serializable; public abstract class X509Certificate extends Certificate implements X509Extension; public class CertificateFactory ; public abstract class CertificateFactorySpi ; public abstract class CertPath implements Serializable; public class CertPathBuilder ; public abstract class CertPathBuilderSpi ; public class CertPathValidator ; public abstract class CertPathValidatorSpi ; public class CertStore ; public abstract class CertStoreSpi ; public class CollectionCertStoreParameters implements CertStoreParameters; public abstract class CRL ; public abstract class X509CRL extends CRL implements X509Extension; public class LDAPCertStoreParameters implements CertStoreParameters; public abstract class PKIXCertPathChecker implements Cloneable; public class PKIXCertPathValidatorResult implements CertPathValidatorResult; public class PKIXCertPathBuilderResult extends PKIXCertPathValidatorResult implements CertPathBuilderResult; public class PKIXParameters implements CertPathParameters; public class PKIXBuilderParameters extends PKIXParameters; public class PolicyQualifierInfo ; public class TrustAnchor ; public class X509CertSelector implements CertSelector; public abstract class X509CRLEntry implements X509Extension; public class X509CRLSelector implements CRLSelector; Protected Nested Types protected static class Certificate.CertificateRep implements Serializable; protected static class CertPath.CertPathRep implements Serializable; Exceptions public class CertificateException extends java.security.GeneralSecurityException; public class CertificateEncodingException extends CertificateException; public class CertificateExpiredException extends CertificateException; public class CertificateNotYetValidException extends CertificateException; public class CertificateParsingException extends CertificateException; public class CertPathBuilderException extends java.security.GeneralSecurityException; public class CertPathValidatorException extends java.security.GeneralSecurityException; public class CertStoreException extends java.security.GeneralSecurityException; public class CRLException extends java.security.GeneralSecurityException; |