SHA2 certificate support

hi stepan,

I have added SHA2 certificate support for as3crypto, pls review and merge.