declare namespace java {
    namespace security {
        // @ts-ignore
         class CryptoPrimitive extends java.lang.Enum {
            // @ts-ignore
            public static MESSAGE_DIGEST: java.security.CryptoPrimitive;
            // @ts-ignore
            public static SECURE_RANDOM: java.security.CryptoPrimitive;
            // @ts-ignore
            public static BLOCK_CIPHER: java.security.CryptoPrimitive;
            // @ts-ignore
            public static STREAM_CIPHER: java.security.CryptoPrimitive;
            // @ts-ignore
            public static MAC: java.security.CryptoPrimitive;
            // @ts-ignore
            public static KEY_WRAP: java.security.CryptoPrimitive;
            // @ts-ignore
            public static PUBLIC_KEY_ENCRYPTION: java.security.CryptoPrimitive;
            // @ts-ignore
            public static SIGNATURE: java.security.CryptoPrimitive;
            // @ts-ignore
            public static KEY_ENCAPSULATION: java.security.CryptoPrimitive;
            // @ts-ignore
            public static KEY_AGREEMENT: java.security.CryptoPrimitive;
            // @ts-ignore
            public static values(): java.security.CryptoPrimitive[];
            // @ts-ignore
            public static valueOf(name: string): java.security.CryptoPrimitive;
        }
    }
}
