PKIXReason enumerates the potential PKIX-specific reasons
that an X.509 certification path may be invalid according to the PKIX
(RFC 5280) standard. These reasons are in addition to those of the
CertPathValidatorException.BasicReason enumeration.
| Modifier and Type | Field and Description |
|---|---|
| public static final PKIXReason | INVALID_KEY_USAGE
The certificate's key usage is invalid. |
| public static final PKIXReason | INVALID_NAME
The name constraints have been violated. |
| public static final PKIXReason | INVALID_POLICY
The policy constraints have been violated. |
| public static final PKIXReason | NAME_CHAINING
The certificate does not chain correctly. |
| public static final PKIXReason | NO_TRUST_ANCHOR
No acceptable trust anchor found. |
| public static final PKIXReason | NOT_CA_CERT
The certificate is not a CA certificate. |
| public static final PKIXReason | PATH_TOO_LONG
The path length constraint has been violated. |
| public static final PKIXReason | UNRECOGNIZED_CRIT_EXT
The certificate contains one or more unrecognized critical extensions. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PKIXReason | |
| public static PKIXReason[] |
| INVALID_KEY_USAGE | back to summary |
|---|---|
| public static final PKIXReason INVALID_KEY_USAGE The certificate's key usage is invalid. | |
| INVALID_NAME | back to summary |
|---|---|
| public static final PKIXReason INVALID_NAME The name constraints have been violated. | |
| INVALID_POLICY | back to summary |
|---|---|
| public static final PKIXReason INVALID_POLICY The policy constraints have been violated. | |
| NAME_CHAINING | back to summary |
|---|---|
| public static final PKIXReason NAME_CHAINING The certificate does not chain correctly. | |
| NO_TRUST_ANCHOR | back to summary |
|---|---|
| public static final PKIXReason NO_TRUST_ANCHOR No acceptable trust anchor found. | |
| NOT_CA_CERT | back to summary |
|---|---|
| public static final PKIXReason NOT_CA_CERT The certificate is not a CA certificate. | |
| PATH_TOO_LONG | back to summary |
|---|---|
| public static final PKIXReason PATH_TOO_LONG The path length constraint has been violated. | |
| UNRECOGNIZED_CRIT_EXT | back to summary |
|---|---|
| public static final PKIXReason UNRECOGNIZED_CRIT_EXT The certificate contains one or more unrecognized critical extensions. | |
| PKIXReason | back to summary |
|---|---|
| private PKIXReason() | |
| valueOf | back to summary |
|---|---|
| public static PKIXReason valueOf(String name) | |
| values | back to summary |
|---|---|
| public static PKIXReason[] values() | |