Thank you for the code. I created a tool to help test the SSL signing algorithm of a website in short order using it as a base. Much appreciated.
My function is here: https://gist.github.com/derekmurawsky/1345e55699343ec4ea9c
My function is here: https://gist.github.com/derekmurawsky/1345e55699343ec4ea9c