JavaTM 2 Platform
Std. Ed. v1.4.1

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.engineStore(OutputStream stream, char[] password)
          Stores this keystore to the given output stream, and protects its integrity with the given password.
abstract  void KeyStoreSpi.engineLoad(InputStream stream, char[] password)
          Loads the keystore from the given input stream.
 void KeyStore.store(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.
 

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.
 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 certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
abstract  Collection CertificateFactorySpi.engineGenerateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
static CertificateFactory CertificateFactory.getInstance(String type)
          Generates a certificate factory object that implements the specified certificate type.
static CertificateFactory CertificateFactory.getInstance(String type, String provider)
          Generates a certificate factory object for the specified certificate type from the specified provider.
static CertificateFactory CertificateFactory.getInstance(String type, Provider provider)
          Generates a certificate factory object for the specified certificate type from the specified provider.
 Certificate CertificateFactory.generateCertificate(InputStream inStream)
          Generates a certificate object and initializes it with the data read from the 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 certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
 Collection CertificateFactory.generateCertificates(InputStream inStream)
          Returns a (possibly empty) collection view of the certificates read from the given input stream inStream.
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.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

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

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.