141 #include <irrxml/irrXML.hpp>
197 int32_t nReturnVal = 0;
210 if (!strcmp(
"signedFile", xml->getNodeName())) {
219 else if (!strcmp(
"filePayload", xml->getNodeName())) {
222 otErr <<
"Error in OTSignedFile::ProcessXMLNode: filePayload field "
248 otErr << __FUNCTION__ <<
": Failed verifying signed file:\n"
271 OTString strLocalSubdir(LOCAL_SUBDIR);
281 OTString strLocalSubdir(LOCAL_SUBDIR), strFile_Name(FILE_NAME);
EXPORT void SetSignerNymID(const OTString &strArg)
OTString m_strSignerNymID
EXPORT OTString & GetFilePayload()
EXPORT bool SaveContract()
virtual void UpdateContents()
virtual EXPORT ~OTSignedFile()
OTString m_strPurportedFilename
virtual int32_t ProcessXMLNode(irr::io::IrrXMLReader *&xml)
EXPORT void Concatenate(const char *arg,...)
EXPORT bool Exists() const
EXPORT void Format(const char *fmt,...)
EXPORT bool Compare(const char *compare) const
EXPORT void Set(const char *data, uint32_t enforcedMaxLength=0)
EXPORT void SetFilePayload(const OTString &strArg)
OTString m_strSignedFilename
static EXPORT bool LoadEncodedTextField(irr::io::IrrXMLReader *&xml, OTASCIIArmor &ascOutput)
OTString m_strSignedFilePayload
OTString m_strContractType
virtual EXPORT bool LoadContract()
EXPORT OTString & GetSignerNymID()
OTStringXML m_xmlUnsigned
EXPORT const char * Get() const
OTLOG_IMPORT OTLogStream otErr
virtual bool SaveContractWallet(std::ofstream &ofs) const
virtual EXPORT void Release()
EXPORT bool Exists(std::string strFolder, std::string oneStr="", std::string twoStr="", std::string threeStr="")
void SetFilename(const OTString &LOCAL_SUBDIR, const OTString &FILE_NAME)
void Release_SignedFile()
virtual EXPORT void Release()
OTString m_strPurportedLocalDir