Is there any way I can get separate shadow mask with transparency ?

Hi All,

I have setup a scene in sequencer, and wanted to render the shadow mask separate with Transparency like Maya does with "Use Background " Shader. Is there any way i can create such material or a process to generate shadow
separate ?

Thanks
Rohan M