W3cubDocs

/OpenJDK 21

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.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/javax/security/cert/package-summary.html