Base class for isogeny keys