javax.security.cert (Java SE 26 & JDK 26)
Description: declaration: module: java.base, package: javax.security.cert
Keywords: javax.security.cert package

# Package javax.security.cert

package javax.security.cert
Provides classes for public key certificates. The classes in this package have been deprecated. New classes should not be added to this package. These classes include a simplified version of the `java.security.cert` package. These classes were developed as part of the Java Secure Socket Extension (JSSE). When JSSE was added to the J2SE version 1.4, this package was added for backward-compatibility reasons only. New applications should not use this package, but rather `java.security.cert`.

Since:
  1.4

- Class
  Description
  Certificate
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  CertificateEncodingException
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  CertificateException
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  CertificateExpiredException
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  CertificateNotYetValidException
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  CertificateParsingException
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.
  X509Certificate
  Deprecated, for removal: This API element is subject to removal in a future version.
  Use the classes in `java.security.cert` instead.