Regularity, complete intersection and Gorenstein properties of a local ring can be characterized by homological conditions on the canonical homomorphism into its residue field. In positive characteristic, the Frobenius endomorphism (and, more generally, any contracting endomorphism) can also be used for these characterizations. We introduce here a class of local homomorphisms, in some sense larger than all above, for which these characterizations still hold, providing an unified treatment for this class of homomorphisms.