declare namespace java {
    namespace security {
        namespace cert {
            // @ts-ignore
             class PKIXReason extends java.lang.Enum {
                // @ts-ignore
                public static NAME_CHAINING: java.security.cert.PKIXReason;
                // @ts-ignore
                public static INVALID_KEY_USAGE: java.security.cert.PKIXReason;
                // @ts-ignore
                public static INVALID_POLICY: java.security.cert.PKIXReason;
                // @ts-ignore
                public static NO_TRUST_ANCHOR: java.security.cert.PKIXReason;
                // @ts-ignore
                public static UNRECOGNIZED_CRIT_EXT: java.security.cert.PKIXReason;
                // @ts-ignore
                public static NOT_CA_CERT: java.security.cert.PKIXReason;
                // @ts-ignore
                public static PATH_TOO_LONG: java.security.cert.PKIXReason;
                // @ts-ignore
                public static INVALID_NAME: java.security.cert.PKIXReason;
                // @ts-ignore
                public static values(): java.security.cert.PKIXReason[];
                // @ts-ignore
                public static valueOf(name: string): java.security.cert.PKIXReason;
            }
        }
    }
}
