Uses of Class
java.security.cert.CertificateException
-
Packages that use CertificateException Package Description com.sun.jarsigner This package comprises the interfaces and classes used to define the signing mechanism used by thejarsignertool.java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.javax.net.ssl Provides classes for the secure socket package. -
-
Uses of CertificateException in com.sun.jarsigner
Methods in com.sun.jarsigner that throw CertificateException Modifier and Type Method Description abstract byte[]ContentSigner. generateSignedData(ContentSignerParameters parameters, boolean omitContent, boolean applyTimestamp)Deprecated.Generates a PKCS #7 signed data message. -
Uses of CertificateException in java.security
Methods in java.security that throw CertificateException Modifier and Type Method Description abstract voidKeyStoreSpi. engineLoad(InputStream stream, char[] password)Loads the keystore from the given input stream.voidKeyStoreSpi. engineLoad(KeyStore.LoadStoreParameter param)Loads the keystore using the givenKeyStore.LoadStoreParameter.abstract voidKeyStoreSpi. engineStore(OutputStream stream, char[] password)Stores this keystore to the given output stream, and protects its integrity with the given password.voidKeyStoreSpi. engineStore(KeyStore.LoadStoreParameter param)Stores this keystore using the givenKeyStore.LoadStoreParmeter.static KeyStoreKeyStore. getInstance(File file, char[] password)Returns a loaded keystore object of the appropriate keystore type.static KeyStoreKeyStore. getInstance(File file, KeyStore.LoadStoreParameter param)Returns a loaded keystore object of the appropriate keystore type.voidKeyStore. load(InputStream stream, char[] password)Loads this KeyStore from the given input stream.voidKeyStore. load(KeyStore.LoadStoreParameter param)Loads this keystore using the givenLoadStoreParameter.voidKeyStore. store(OutputStream stream, char[] password)Stores this keystore to the given output stream, and protects its integrity with the given password.voidKeyStore. store(KeyStore.LoadStoreParameter param)Stores this keystore using the givenLoadStoreParameter. -
Uses of CertificateException in java.security.cert
Subclasses of CertificateException in java.security.cert Modifier and Type Class Description classCertificateEncodingExceptionCertificate Encoding Exception.classCertificateExpiredExceptionCertificate Expired Exception.classCertificateNotYetValidExceptionCertificate is not yet valid exception.classCertificateParsingExceptionCertificate Parsing Exception.classCertificateRevokedExceptionAn exception that indicates an X.509 certificate is revoked.Methods in java.security.cert that throw CertificateException Modifier and Type Method Description abstract CertificateCertificateFactorySpi. 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.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactorySpi. engineGenerateCertPath(InputStream inStream, String encoding)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extends Certificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.CertificateCertificateFactory. generateCertificate(InputStream inStream)Generates a certificate object and initializes it with the data read from the input streaminStream.Collection<? extends Certificate>CertificateFactory. generateCertificates(InputStream inStream)Returns a (possibly empty) collection view of the certificates read from the given input streaminStream.CertPathCertificateFactory. generateCertPath(InputStream inStream)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactory. generateCertPath(InputStream inStream, String encoding)Generates aCertPathobject and initializes it with the data read from theInputStreaminStream.CertPathCertificateFactory. generateCertPath(List<? extends Certificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.static CertificateFactoryCertificateFactory. getInstance(String type)Returns a certificate factory object that implements the specified certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, String provider)Returns a certificate factory object for the specified certificate type.static CertificateFactoryCertificateFactory. getInstance(String type, Provider provider)Returns a certificate factory object for the specified certificate type.abstract voidCertificate. verify(PublicKey key)Verifies that this certificate was signed using the private key that corresponds to the specified public key.abstract voidCertificate. verify(PublicKey key, String sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key.voidCertificate. verify(PublicKey key, Provider sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key.voidX509Certificate. verify(PublicKey key, Provider sigProvider)Verifies that this certificate was signed using the private key that corresponds to the specified public key. -
Uses of CertificateException in javax.net.ssl
Methods in javax.net.ssl that throw CertificateException Modifier and Type Method Description abstract voidX509ExtendedTrustManager. 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 voidX509ExtendedTrustManager. 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.voidX509TrustManager. 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 voidX509ExtendedTrustManager. 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 voidX509ExtendedTrustManager. 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.voidX509TrustManager. 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.
-