declare namespace java {
    namespace security {
        namespace cert {
            namespace CertPathValidatorException {
                // @ts-ignore
                 class BasicReason extends java.lang.Enum {
                    // @ts-ignore
                    public static UNSPECIFIED: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static EXPIRED: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static NOT_YET_VALID: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static REVOKED: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static UNDETERMINED_REVOCATION_STATUS: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static INVALID_SIGNATURE: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static ALGORITHM_CONSTRAINED: java.security.cert.CertPathValidatorException.BasicReason;
                    // @ts-ignore
                    public static values(): java.security.cert.CertPathValidatorException.BasicReason[];
                    // @ts-ignore
                    public static valueOf(name: string): java.security.cert.CertPathValidatorException.BasicReason;
                }
            }
        }
    }
}
