Skip to content

Most visited

Recently visited

navigation

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


The BasicReason enumerates the potential reasons that a certification path of any type may be invalid.

Summary

Enum values

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

Enum values

ALGORITHM_CONSTRAINED

added in API level 24
CertPathValidatorException.BasicReason ALGORITHM_CONSTRAINED

The public key or the signature algorithm has been constrained.

EXPIRED

added in API level 24
CertPathValidatorException.BasicReason EXPIRED

The certificate is expired.

INVALID_SIGNATURE

added in API level 24
CertPathValidatorException.BasicReason INVALID_SIGNATURE

The signature is invalid.

NOT_YET_VALID

added in API level 24
CertPathValidatorException.BasicReason NOT_YET_VALID

The certificate is not yet valid.

REVOKED

added in API level 24
CertPathValidatorException.BasicReason REVOKED

The certificate is revoked.

UNDETERMINED_REVOCATION_STATUS

added in API level 24
CertPathValidatorException.BasicReason UNDETERMINED_REVOCATION_STATUS

The revocation status of the certificate could not be determined.

UNSPECIFIED

added in API level 24
CertPathValidatorException.BasicReason UNSPECIFIED

Unspecified reason.

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[]

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)