possibly a corner piece to a steamer trunk ?
I think that's a good guess. I went looking for the style--and found a similar style for some corner pieces. They usually seem to be one piece rather than hinged though.
I thought this one might be a furniture piece, but again it seems that the hinge pieces were made of brass too, with a brass pin in most cases--rather than an iron pin.
I'm pretty sure it's an iron pin--since there is some of the iron left. It wasn't just an iron nail laying beside the piece, I'm almost positive.