public
static
final
enum
CertPathValidatorException.BasicReason
extends Enum<CertPathValidatorException.BasicReason>
implements
CertPathValidatorException.Reason
| java.lang.Object | ||
| ↳ | java.lang.Enum<java.security.cert.CertPathValidatorException.BasicReason> | |
| ↳ | java.security.cert.CertPathValidatorException.BasicReason | |
The BasicReason enumerates the potential reasons that a certification path of any type may be invalid.
CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED
The public key or the signature algorithm has been constrained.
CertPathValidatorException.BasicReason EXPIRED
The certificate is expired.
CertPathValidatorException.BasicReason INVALID_SIGNATURE
The signature is invalid.
CertPathValidatorException.BasicReason NOT_YET_VALID
The certificate is not yet valid.
CertPathValidatorException.BasicReason REVOKED
The certificate is revoked.
CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS
The revocation status of the certificate could not be determined.
CertPathValidatorException.BasicReason UNSPECIFIED
Unspecified reason.
Public methods | |
|---|---|
static
CertPathValidatorException.BasicReason
|
valueOf(String name)
|
static
final
BasicReason[]
|
values()
|
Inherited methods | |
|---|---|
public static final CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED
The public key or the signature algorithm has been constrained.
public static final CertPathValidatorException.BasicReason EXPIRED
The certificate is expired.
public static final CertPathValidatorException.BasicReason INVALID_SIGNATURE
The signature is invalid.
public static final CertPathValidatorException.BasicReason NOT_YET_VALID
The certificate is not yet valid.
public static final CertPathValidatorException.BasicReason REVOKED
The certificate is revoked.
public static final CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS
The revocation status of the certificate could not be determined.
public static final CertPathValidatorException.BasicReason UNSPECIFIED
Unspecified reason.
public static CertPathValidatorException.BasicReason valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
CertPathValidatorException.BasicReason |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-04-16 UTC.