I downloaded some code for ***Attribute-based encryption*** in java and all the files are of extension `.class`. I want to import some `.class` files into my main class as there are objects in the main class for those classes, but these classes are not `.java` so they cannot be imported and objects cannot be instantiated. 

I tried to convert from .class to .jar but this definitely did not work.