More signing specs

Converted API to return a response object instead of a string or nil.