Uses of Interface java.security.cert.CertPathValidatorException.Reason (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.security.cert.CertPathValidatorException.Reason

- Packages that use CertPathValidatorException.Reason
  Package | Description
  --- | ---
  java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.

- - ### Uses of CertPathValidatorException.Reason in java.security.cert

    Classes in java.security.cert that implement CertPathValidatorException.Reason
    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 5280) standard.

    Methods in java.security.cert that return CertPathValidatorException.Reason
    Modifier and Type | Method and Description
    --- | ---
    `CertPathValidatorException.Reason` | CertPathValidatorException.`getReason()` Returns the reason that the validation failed.

    Constructors in java.security.cert with parameters of type CertPathValidatorException.Reason
    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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.