Provided that you have a sufficient damage bonus to beat the hardness, use the whip in the right way, AND your GM says that a whip is capable of damaging steel, then yes.
Although as a DM I would probably class that under the 'certain attacks can't damage certain objects' clause, it's not a hard and fast rule, and in some circumstances I might not.