CertPathValidatorException


CertPathValidatorException java.security.cert

Java 1.4 serializable checked

Signals a problem while validating a certificate chain with a CertPathValidator . getCertPath( ) returns the CertPath object that was being validated , and getIndex( ) returns the index within the path of the certificate that caused the exception (or -1 if that information is not available).

Figure 14-57. java.security.cert.CertPathValidatorException

 public class  CertPathValidatorException  extends java.security.GeneralSecurityException {  // Public Constructors  public  CertPathValidatorException  ( );        public  CertPathValidatorException  (Throwable  cause  );        public  CertPathValidatorException  (String  msg  );        public  CertPathValidatorException  (String  msg  , Throwable  cause  );        public  CertPathValidatorException  (String  msg  , Throwable  cause  ,          CertPath  certPath  , int  index  );  // Public Instance Methods  public CertPath  getCertPath  ( );  default:null  public int  getIndex  ( );  default:-1  } 

Thrown By

CertPathValidator.validate( ) , CertPathValidatorSpi.engineValidate( ) , PKIXCertPathChecker.{check( ) , init( )}



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net