# Uses of Class
javax.security.cert.CertificateException

Packages that use CertificateException
Package | Description
--- | ---
javax.security.cert | Provides classes for public key certificates.

## Uses of CertificateException in javax.security.cert

Subclasses of CertificateException in javax.security.cert
Modifier and Type | Class | Description
--- | --- | ---
`class` | `CertificateEncodingException` | Deprecated, for removal: This API element is subject to removal in a future version. Use the classes in `java.security.cert` instead.
`class` | `CertificateExpiredException` | Deprecated, for removal: This API element is subject to removal in a future version. Use the classes in `java.security.cert` instead.
`class` | `CertificateNotYetValidException` | Deprecated, for removal: This API element is subject to removal in a future version. Use the classes in `java.security.cert` instead.
`class` | `CertificateParsingException` | Deprecated, for removal: This API element is subject to removal in a future version. Use the classes in `java.security.cert` instead.

Methods in javax.security.cert that throw CertificateException
Modifier and Type | Method | Description
--- | --- | ---
`static X509Certificate` | X509Certificate.`getInstance​(byte[] certData)` | Deprecated, for removal: This API element is subject to removal in a future version. Instantiates an X509Certificate object, and initializes it with the specified byte array.
`static X509Certificate` | X509Certificate.`getInstance​(InputStream inStream)` | Deprecated, for removal: This API element is subject to removal in a future version. Instantiates an X509Certificate object, and initializes it with the data read from the input stream `inStream`.
`abstract void` | Certificate.`verify​(PublicKey key)` | Deprecated, for removal: This API element is subject to removal in a future version. Verifies that this certificate was signed using the private key that corresponds to the specified public key.
`abstract void` | Certificate.`verify​(PublicKey key, String sigProvider)` | Deprecated, for removal: This API element is subject to removal in a future version. Verifies that this certificate was signed using the private key that corresponds to the specified public key.