Uses of Class
java.security.cert.CertificateException
Package
Description
This package comprises the interfaces and classes used to define the
signing mechanism used by the
jarsigner
tool.Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides classes for the secure socket package.
-
Uses of CertificateException in com.sun.jarsigner
Modifier and TypeMethodDescriptionabstract byte[]
ContentSigner.generateSignedData
(ContentSignerParameters parameters, boolean omitContent, boolean applyTimestamp) Deprecated, for removal: This API element is subject to removal in a future version.Generates a PKCS #7 signed data message. -
Uses of CertificateException in java.security
Modifier and TypeMethodDescriptionabstract void
KeyStoreSpi.engineLoad
(InputStream stream, char[] password) Loads the keystore from the given input stream.void
KeyStoreSpi.engineLoad
(KeyStore.LoadStoreParameter param) Loads the keystore using the givenKeyStore.LoadStoreParameter
.abstract void
KeyStoreSpi.engineStore
(OutputStream stream, char[] password) Stores this keystore to the given output stream, and protects its integrity with the given password.void
KeyStoreSpi.engineStore
(KeyStore.LoadStoreParameter param) Stores this keystore using the givenKeyStore.LoadStoreParameter
.static final KeyStore
KeyStore.getInstance
(File file, char[] password) Returns a loaded keystore object of the appropriate keystore type.static final KeyStore
KeyStore.getInstance
(File file, KeyStore.LoadStoreParameter param) Returns a loaded keystore object of the appropriate keystore type.final void
KeyStore.load
(InputStream stream, char[] password) Loads this keystore from the given input stream.final void
KeyStore.load
(KeyStore.LoadStoreParameter param) Loads this keystore using the givenLoadStoreParameter
.final void
KeyStore.store
(OutputStream stream, char[] password) Stores this keystore to the given output stream, and protects its integrity with the given password.final void
KeyStore.store
(KeyStore.LoadStoreParameter param) Stores this keystore using the givenLoadStoreParameter
. -
Uses of CertificateException in java.security.cert
Modifier and TypeClassDescriptionclass
Certificate Encoding Exception.class
Certificate Expired Exception.class
Certificate is not yet valid exception.class
Certificate Parsing Exception.class
An exception that indicates an X.509 certificate is revoked.Modifier and TypeMethodDescriptionabstract Certificate
CertificateFactorySpi.engineGenerateCertificate
(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream
.abstract Collection<? extends Certificate>
CertificateFactorySpi.engineGenerateCertificates
(InputStream inStream) Returns a (possibly empty) collection view of the certificates read from the given input streaminStream
.CertificateFactorySpi.engineGenerateCertPath
(InputStream inStream) Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertificateFactorySpi.engineGenerateCertPath
(InputStream inStream, String encoding) Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.CertificateFactorySpi.engineGenerateCertPath
(List<? extends Certificate> certificates) Generates aCertPath
object and initializes it with aList
ofCertificate
s.final Certificate
CertificateFactory.generateCertificate
(InputStream inStream) Generates a certificate object and initializes it with the data read from the input streaminStream
.final Collection<? extends Certificate>
CertificateFactory.generateCertificates
(InputStream inStream) Returns a (possibly empty) collection view of the certificates read from the given input streaminStream
.final CertPath
CertificateFactory.generateCertPath
(InputStream inStream) Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.final CertPath
CertificateFactory.generateCertPath
(InputStream inStream, String encoding) Generates aCertPath
object and initializes it with the data read from theInputStream
inStream.final CertPath
CertificateFactory.generateCertPath
(List<? extends Certificate> certificates) Generates aCertPath
object and initializes it with aList
ofCertificate
s.static final CertificateFactory
CertificateFactory.getInstance
(String type) Returns a certificate factory object that implements the specified certificate type.static final CertificateFactory
CertificateFactory.getInstance
(String type, String provider) Returns a certificate factory object for the specified certificate type.static final CertificateFactory
CertificateFactory.getInstance
(String type, Provider provider) Returns a certificate factory object for the specified certificate type.abstract void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key.void
Verifies that this certificate was signed using the private key that corresponds to the specified public key. -
Uses of CertificateException in javax.net.ssl
Modifier and TypeMethodDescriptionabstract void
X509ExtendedTrustManager.checkClientTrusted
(X509Certificate[] chain, String authType, Socket socket) Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.abstract void
X509ExtendedTrustManager.checkClientTrusted
(X509Certificate[] chain, String authType, SSLEngine engine) Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.void
X509TrustManager.checkClientTrusted
(X509Certificate[] chain, String authType) Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type.abstract void
X509ExtendedTrustManager.checkServerTrusted
(X509Certificate[] chain, String authType, Socket socket) Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.abstract void
X509ExtendedTrustManager.checkServerTrusted
(X509Certificate[] chain, String authType, SSLEngine engine) Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.void
X509TrustManager.checkServerTrusted
(X509Certificate[] chain, String authType) Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type.