| Package | Description | 
|---|---|
| java.security.cert | 
 Provides classes and interfaces for parsing and managing
 certificates, certificate revocation lists (CRLs), and
 certification paths. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CertPathValidatorException.BasicReason
The BasicReason enumerates the potential reasons that a certification
 path of any type may be invalid. 
 | 
class  | 
PKIXReason
The  
PKIXReason enumerates the potential PKIX-specific reasons
 that an X.509 certification path may be invalid according to the PKIX
 (RFC 3280) standard. | 
| Modifier and Type | Method and Description | 
|---|---|
CertPathValidatorException.Reason | 
CertPathValidatorException.getReason()
Returns the reason that the validation failed. 
 | 
| Constructor and Description | 
|---|
CertPathValidatorException(String msg,
                          Throwable cause,
                          CertPath certPath,
                          int index,
                          CertPathValidatorException.Reason reason)
Creates a  
CertPathValidatorException with the specified
 detail message, cause, certification path, index, and reason. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2016, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.