APIdia Launch Partner
Top Description Fields Constructors Methods
java.security.cert

public final Enum PKIXReason

extends Enum<PKIXReason>
implements Reason
Class Inheritance
All Implemented Interfaces
java.security.cert.CertPathValidatorException.Reason, java.io.Serializable

The 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.
Since
1.7

Field Summary

Modifier and TypeField 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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PKIXReason
public static PKIXReason[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INVALID_KEY_USAGEback to summary
public static final PKIXReason INVALID_KEY_USAGE

The certificate's key usage is invalid.

INVALID_NAMEback to summary
public static final PKIXReason INVALID_NAME

The name constraints have been violated.

INVALID_POLICYback to summary
public static final PKIXReason INVALID_POLICY

The policy constraints have been violated.

NAME_CHAININGback to summary
public static final PKIXReason NAME_CHAINING

The certificate does not chain correctly.

NO_TRUST_ANCHORback to summary
public static final PKIXReason NO_TRUST_ANCHOR

No acceptable trust anchor found.

NOT_CA_CERTback to summary
public static final PKIXReason NOT_CA_CERT

The certificate is not a CA certificate.

PATH_TOO_LONGback to summary
public static final PKIXReason PATH_TOO_LONG

The path length constraint has been violated.

UNRECOGNIZED_CRIT_EXTback to summary
public static final PKIXReason UNRECOGNIZED_CRIT_EXT

The certificate contains one or more unrecognized critical extensions.

Constructor Detail

PKIXReasonback to summary
private PKIXReason()

Method Detail

valueOfback to summary
public static PKIXReason valueOf(String name)
valuesback to summary
public static PKIXReason[] values()