Added in API level 24

BasicReason

class BasicReason : CertPathValidatorException.Reason
kotlin.Any
   ↳ kotlin.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

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.

Enum values

ALGORITHM_CONSTRAINED

Added in API level 24
enum val ALGORITHM_CONSTRAINED : CertPathValidatorException.BasicReason

The public key or the signature algorithm has been constrained.

EXPIRED

Added in API level 24
enum val EXPIRED : CertPathValidatorException.BasicReason

The certificate is expired.

INVALID_SIGNATURE

Added in API level 24
enum val INVALID_SIGNATURE : CertPathValidatorException.BasicReason

The signature is invalid.

NOT_YET_VALID

Added in API level 24
enum val NOT_YET_VALID : CertPathValidatorException.BasicReason

The certificate is not yet valid.

REVOKED

Added in API level 24
enum val REVOKED : CertPathValidatorException.BasicReason

The certificate is revoked.

UNDETERMINED_REVOCATION_STATUS

Added in API level 24
enum val UNDETERMINED_REVOCATION_STATUS : CertPathValidatorException.BasicReason

The revocation status of the certificate could not be determined.

UNSPECIFIED

Added in API level 24
enum val UNSPECIFIED : CertPathValidatorException.BasicReason

Unspecified reason.