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 |
BasicReason列举了任何类型的认证路径可能无效的潜在原因。
Enum values |
|
---|---|
CertPathValidatorException.BasicReason |
ALGORITHM_CONSTRAINED 公钥或签名算法受到限制。 |
CertPathValidatorException.BasicReason |
EXPIRED 证书已过期。 |
CertPathValidatorException.BasicReason |
INVALID_SIGNATURE 签名无效。 |
CertPathValidatorException.BasicReason |
NOT_YET_VALID 证书尚未生效。 |
CertPathValidatorException.BasicReason |
REVOKED 证书被吊销。 |
CertPathValidatorException.BasicReason |
UNDETERMINED_REVOCATION_STATUS 证书的撤销状态无法确定。 |
CertPathValidatorException.BasicReason |
UNSPECIFIED 未说明的原因。 |
Public methods |
|
---|---|
static CertPathValidatorException.BasicReason |
valueOf(String name) |
static final BasicReason[] |
values() |
Inherited methods |
|
---|---|
From class java.lang.Enum
|
|
From class java.lang.Object
|
|
From interface java.lang.Comparable
|
CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED
公钥或签名算法受到限制。
CertPathValidatorException.BasicReason INVALID_SIGNATURE
签名无效。
CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS
证书的撤销状态无法确定。
CertPathValidatorException.BasicReason valueOf (String name)
Parameters | |
---|---|
name |
String
|
Returns | |
---|---|
CertPathValidatorException.BasicReason |