Most visited

Recently visited

Added in API level 24

CertPathValidatorException.BasicReason

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列举了任何类型的认证路径可能无效的潜在原因。

Summary

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

Enum values

ALGORITHM_CONSTRAINED

Added in API level 24
CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED

公钥或签名算法受到限制。

EXPIRED

Added in API level 24
CertPathValidatorException.BasicReason EXPIRED

证书已过期。

INVALID_SIGNATURE

Added in API level 24
CertPathValidatorException.BasicReason INVALID_SIGNATURE

签名无效。

NOT_YET_VALID

Added in API level 24
CertPathValidatorException.BasicReason NOT_YET_VALID

证书尚未生效。

REVOKED

Added in API level 24
CertPathValidatorException.BasicReason REVOKED

证书被吊销。

UNDETERMINED_REVOCATION_STATUS

Added in API level 24
CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS

证书的撤销状态无法确定。

UNSPECIFIED

Added in API level 24
CertPathValidatorException.BasicReason UNSPECIFIED

未说明的原因。

Public methods

valueOf

Added in API level 24
CertPathValidatorException.BasicReason valueOf (String name)

Parameters
name String
Returns
CertPathValidatorException.BasicReason

values

Added in API level 24
BasicReason[] values ()

Returns
BasicReason[]

Hooray!