Added support for plain text signature

Support for plain text signature and test.