summaryrefslogtreecommitdiff
path: root/src/include/dkimsign.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/dkimsign.h')
-rw-r--r--src/include/dkimsign.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/include/dkimsign.h b/src/include/dkimsign.h
index 49259ba..ad3c9d7 100644
--- a/src/include/dkimsign.h
+++ b/src/include/dkimsign.h
@@ -44,18 +44,18 @@ public:
void Hash(const char *szBuffer, int nBufLength, bool bHdr);
protected:
- bool SignThisTag(const string& sTag);
- void GetHeaderParams(const string& sHdr);
- void ProcessHeader(const string& sHdr);
+ bool SignThisTag(const std::string& sTag);
+ void GetHeaderParams(const std::string& sHdr);
+ void ProcessHeader(const std::string& sHdr);
bool ParseFromAddress(void);
void InitSig(void);
- void AddTagToSig(const char *const Tag, const string& sValue, char cbrk, bool bFold);
+ void AddTagToSig(const char *const Tag, const std::string& sValue, char cbrk, bool bFold);
void AddTagToSig(const char *const Tag, unsigned long nValue);
void AddInterTagSpace(int nSizeOfNextTag);
- void AddFoldedValueToSig(const string& sValue, char cbrk);
+ void AddFoldedValueToSig(const std::string& sValue, char cbrk);
- bool IsRequiredHeader(const string& sTag);
+ bool IsRequiredHeader(const std::string& sTag);
int ConstructSignature(char *szSignKey, int nSigAlg);
int AssembleReturnedSig(char *szRSAPrivKey, char *szECCPrivKey);
@@ -82,14 +82,14 @@ protected:
int m_EmptyLineCount;
- string hParam;
- string sFrom;
- string sSender;
- string sSelector;
- string eSelector; // Used for Ed25519 signatures
- string sDomain;
- string sIdentity; // for i= tag, if empty tag will not be included in sig
- string sRequiredHeaders;
+ std::string hParam;
+ std::string sFrom;
+ std::string sSender;
+ std::string sSelector;
+ std::string eSelector; // Used for Ed25519 signatures
+ std::string sDomain;
+ std::string sIdentity; // for i= tag, if empty tag will not be included in sig
+ std::string sRequiredHeaders;
bool m_IncludeBodyLengthTag;
int m_nBodyLength;
@@ -101,15 +101,15 @@ protected:
DKIMHEADERCALLBACK m_pfnHdrCallback;
- string m_sSig; // DKIM-Signature ....
+ std::string m_sSig; // DKIM-Signature ....
int m_nSigPos;
- string m_sReturnedSig;
+ std::string m_sReturnedSig;
bool m_bReturnedSigAssembled;
- string m_sCopiedHeaders;
+ std::string m_sCopiedHeaders;
- string SigHdrs;
+ std::string SigHdrs;
int m_SigHdrs;
};