public static enum CertPathValidatorException.BasicReason extends Enum<CertPathValidatorException.BasicReason> implements CertPathValidatorException.Reason
Enum Constant and Description |
---|
ALGORITHM_CONSTRAINED
公钥或签名算法已被约束。
|
EXPIRED
证书已过期。
|
INVALID_SIGNATURE
签名无效。
|
NOT_YET_VALID
证书尚未生效。
|
REVOKED
证书被撤销。
|
UNDETERMINED_REVOCATION_STATUS
证书的撤销状态无法确定。
|
UNSPECIFIED
不明原因
|
Modifier and Type | Method and Description |
---|---|
static CertPathValidatorException.BasicReason |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static CertPathValidatorException.BasicReason[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final CertPathValidatorException.BasicReason UNSPECIFIED
public static final CertPathValidatorException.BasicReason EXPIRED
public static final CertPathValidatorException.BasicReason NOT_YET_VALID
public static final CertPathValidatorException.BasicReason REVOKED
public static final CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS
public static final CertPathValidatorException.BasicReason INVALID_SIGNATURE
public static final CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED
public static CertPathValidatorException.BasicReason[] values()
for (CertPathValidatorException.BasicReason c : CertPathValidatorException.BasicReason.values())
System.out.println(c);
public static CertPathValidatorException.BasicReason valueOf(String name)
name
- 要返回的枚举常数的名称。
IllegalArgumentException
- 如果此枚举类型没有指定名称的常量
NullPointerException
- 如果参数为空