Class KeyFactory<E extends PrivateKey,​F extends PublicKey>