[Tizen] Check signature value using xmlsec1 library

Based on API provided by xmlsec1 library, signature value and reference are checked.
And seems `xmlIndentTreeOutput` is enable indent for the writer. If it is true, I do not find you write xml in this func. Even I missed the writer part, according the libxml2 api doc, I think we'd better use `xmlTextWriterSetIndent` instead.