
























| |---java.lang.Enum<CertPathValidatorException.BasicReason> |---|---java.security.cert.CertPathValidatorException.BasicReason public static enum CertPathValidatorException.BasicReason extends Enum<CertPathValidatorException.BasicReason> implements CertPathValidatorException.Reason |
Since:
1.7Enum Constant | Description |
|---|---|
The public key or the signature algorithm has been constrained. | |
The certificate is expired. | |
The signature is invalid. | |
The certificate is not yet valid. | |
The certificate is revoked. | |
The revocation status of the certificate could not be determined. | |
Unspecified reason. |
Modifier and Type | Method | Description |
|---|---|---|
Returns the enum constant of this type with the specified name. | ||
values() | Returns an array containing the constants of this enum type, in the order they are declared. |
public static final CertPathValidatorException.BasicReason UNSPECIFIED
Unspecified reason.public static final CertPathValidatorException.BasicReason EXPIRED
The certificate is expired.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 INVALID_SIGNATURE
The signature is invalid.public static final CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED
The public key or the signature algorithm has been constrained.public static CertPathValidatorException.BasicReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CertPathValidatorException.BasicReason c : CertPathValidatorException.BasicReason.values())
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared
public static CertPathValidatorException.BasicReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)Parameters:
Parameter Name | Parameter Description |
|---|---|
name | the name of the enum constant to be returned. |
Returns:
the enum constant with the specified name
Throws:
Throw Name | Throw Description |
|---|---|
if this enum type has no constant with the specified name | |
if the argument is null |