What component is this?

I cant remember where i salvaged them think it was a power supply. I'm guessing they are 2 diodes.

I cant remember where i salvaged them think it was a power supply. I'm guessing they are 2 diodes.