Java™ Platform
Standard Ed. 6

Uses of Class
java.security.cert.CertificateException

Packages that use CertificateException
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 java.security
 

Methods in java.security that throw CertificateException
abstract  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 given KeyStore.LoadStoreParameter.
 void KeyStoreSpi.engineStore(KeyStore.LoadStoreParameter param)
          Stores this keystore using the given KeyStore.LoadStoreParmeter.
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 KeyStore.load(InputStream stream, char[] password)
          Loads this KeyStore from the given input stream.
 void KeyStore.load(KeyStore.LoadStoreParameter param)
          Loads this keystore using the given LoadStoreParameter.
 void KeyStore.store(KeyStore.LoadStoreParameter param)
          Stores this keystore using the given LoadStoreParameter.
 void KeyStore.store(OutputStream stream, char[] password)
          Stores this keystore to the given output stream, and protects its integrity with the given password.
 

Uses of CertificateException in java.security.cert
 

Subclasses of CertificateException in java.security.cert
 class CertificateEncodingException
          Certificate Encoding Exception.
 class CertificateExpiredException
          Certificate Expired Exception.
 class CertificateNotYetValidException
          Certificate is not yet valid exception.
 class CertificateParsingException
          Certificate Parsing Exception.
 

Methods in java.security.cert that throw CertificateException
abstract  Certificate CertificateFactorySpi.engineGenerateCertificate(InputStream inStream)
          Generates a certificate object and initializes it with the data read from the input stream inStream.
abstract  Collection<? extends Certificate> CertificateFactorySpi.engineGenerateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
 CertPath CertificateFactorySpi.engineGenerateCertPath(InputStream inStream)
          Generates a CertPath object and initializes it with the data read from the InputStream inStream.
 CertPath CertificateFactorySpi.engineGenerateCertPath(InputStream inStream, String encoding)
          Generates a CertPath object and initializes it with the data read from the InputStream inStream.
 CertPath CertificateFactorySpi.engineGenerateCertPath(List<? extends Certificate> certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
 Certificate CertificateFactory.generateCertificate(InputStream inStream)
          Generates a certificate object and initializes it with the data read from the input stream inStream.
 Collection<? extends Certificate> CertificateFactory.generateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
 CertPath CertificateFactory.generateCertPath(InputStream inStream)
          Generates a CertPath object and initializes it with the data read from the InputStream inStream.
 CertPath CertificateFactory.generateCertPath(InputStream inStream, String encoding)
          Generates a CertPath object and initializes it with the data read from the InputStream inStream.
 CertPath CertificateFactory.generateCertPath(List<? extends Certificate> certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
static CertificateFactory CertificateFactory.getInstance(String type)
          Returns a certificate factory object that implements the specified certificate type.
static CertificateFactory CertificateFactory.getInstance(String type, Provider provider)
          Returns a certificate factory object for the specified certificate type.
static CertificateFactory CertificateFactory.getInstance(String type, String provider)
          Returns a certificate factory object for the specified certificate type.
abstract  void Certificate.verify(PublicKey key)
          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)
          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
 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.
 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.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.