#include <dkimsign.h>
|
| CDKIMSign () |
|
| ~CDKIMSign () |
|
int | Init (DKIMSignOptions *pOptions) |
|
int | GetSig2 (char *szRSAPrivKey, char *szECCPrivKey, char **pszSignature) |
|
virtual int | ProcessHeaders (void) override |
|
virtual int | ProcessBody (char *szBuffer, int nBufLength, bool bEOF) override |
|
void | Hash (const char *szBuffer, int nBufLength, bool bHdr) |
|
| CDKIMBase () |
|
| ~CDKIMBase () |
|
int | Init (void) |
|
int | Process (const char *szBuffer, int nBufLength, bool bEOF) |
|
int | ProcessFinal (void) |
|
int | Alloc (char *&szBuffer, int nRequiredSize) |
|
int | ReAlloc (char *&szBuffer, int &nBufferLength, int nRequiredSize) |
|
void | Free (char *szBuffer) |
|
virtual int | ProcessHeaders (void) |
|
virtual int | ProcessBody (char *szBuffer, int nBufLength, bool bEOF) |
|
Definition at line 28 of file dkimsign.h.
◆ CKDKIMConstants
Enumerator |
---|
OptimalHeaderLineLength | |
Definition at line 41 of file dkimsign.h.
◆ CDKIMSign()
◆ ~CDKIMSign()
◆ AddFoldedValueToSig()
void AddFoldedValueToSig |
( |
const string & |
sValue, |
|
|
char |
cbrk |
|
) |
| |
|
protected |
◆ AddInterTagSpace()
void AddInterTagSpace |
( |
int |
nSizeOfNextTag | ) |
|
|
protected |
◆ AddTagToSig() [1/2]
void AddTagToSig |
( |
const char *const |
Tag, |
|
|
const string & |
sValue, |
|
|
char |
cbrk, |
|
|
bool |
bFold |
|
) |
| |
|
protected |
◆ AddTagToSig() [2/2]
void AddTagToSig |
( |
const char *const |
Tag, |
|
|
unsigned long |
nValue |
|
) |
| |
|
protected |
◆ AssembleReturnedSig()
int AssembleReturnedSig |
( |
char * |
szRSAPrivKey, |
|
|
char * |
szECCPrivKey |
|
) |
| |
|
protected |
◆ ConstructSignature()
int ConstructSignature |
( |
char * |
szSignKey, |
|
|
int |
nSigAlg |
|
) |
| |
|
protected |
◆ GetHeaderParams()
void GetHeaderParams |
( |
const string & |
sHdr | ) |
|
|
protected |
◆ GetSig2()
int GetSig2 |
( |
char * |
szRSAPrivKey, |
|
|
char * |
szECCPrivKey, |
|
|
char ** |
pszSignature |
|
) |
| |
◆ Hash()
void Hash |
( |
const char * |
szBuffer, |
|
|
int |
nBufLength, |
|
|
bool |
bHdr |
|
) |
| |
START DEBUG CODE ** if (nBufLength == 2 && szBuffer[0] == '\r' && szBuffer[1] == '
') { printf("[CRLF]\n"); } else { char *szDbg = new char[nBufLength+1]; strncpy(szDbg,szBuffer,nBufLength); szDbg[nBufLength] = '\0'; printf("[%s]\n",szDbg); } ***
if (fpdebug == NULL) { fpdebug = fopen("canon.msg", "wb"); }
fwrite(szBuffer,1,nBufLength,fpdebug);
END DEBUG CODE
Definition at line 213 of file dkimsign.cpp.
◆ Init()
◆ InitSig()
◆ IsRequiredHeader()
bool IsRequiredHeader |
( |
const string & |
sTag | ) |
|
|
protected |
◆ ParseFromAddress()
bool ParseFromAddress |
( |
void |
| ) |
|
|
protected |
◆ ProcessBody()
int ProcessBody |
( |
char * |
szBuffer, |
|
|
int |
nBufLength, |
|
|
bool |
bEOF |
|
) |
| |
|
overridevirtual |
◆ ProcessHeader()
void ProcessHeader |
( |
const string & |
sHdr | ) |
|
|
protected |
◆ ProcessHeaders()
int ProcessHeaders |
( |
void |
| ) |
|
|
overridevirtual |
◆ SignThisTag()
bool SignThisTag |
( |
const string & |
sTag | ) |
|
|
protected |
◆ eSelector
◆ hParam
◆ m_Bdy_sha1ctx
EVP_MD_CTX* m_Bdy_sha1ctx |
|
protected |
◆ m_Bdy_sha256ctx
EVP_MD_CTX* m_Bdy_sha256ctx |
|
protected |
◆ m_bReturnedSigAssembled
bool m_bReturnedSigAssembled |
|
protected |
◆ m_Canon
◆ m_Edy_sha256ctx
EVP_MD_CTX* m_Edy_sha256ctx |
|
protected |
◆ m_EmptyLineCount
◆ m_ExpireTime
◆ m_Hdr_ed25519ctx
EVP_MD_CTX* m_Hdr_ed25519ctx |
|
protected |
◆ m_Hdr_sha1ctx
EVP_MD_CTX* m_Hdr_sha1ctx |
|
protected |
◆ m_Hdr_sha256ctx
EVP_MD_CTX* m_Hdr_sha256ctx |
|
protected |
◆ m_IncludeBodyLengthTag
bool m_IncludeBodyLengthTag |
|
protected |
◆ m_nBodyLength
◆ m_nHash
◆ m_nIncludeCopiedHeaders
int m_nIncludeCopiedHeaders |
|
protected |
◆ m_nIncludeQueryMethod
int m_nIncludeQueryMethod |
|
protected |
◆ m_nIncludeTimeStamp
◆ m_nSigPos
◆ m_pfnHdrCallback
◆ m_sCopiedHeaders
◆ m_SigHdrs
◆ m_sReturnedSig
◆ m_sSig
◆ sDomain
◆ sFrom
◆ sIdentity
◆ SigHdrs
◆ sRequiredHeaders
◆ sSelector
◆ sSender
The documentation for this class was generated from the following files:
- /mnt/sqmail/DEVELOP/VERS_4/4.3/sqmail-4.3.17/src/include/dkimsign.h
- /mnt/sqmail/DEVELOP/VERS_4/4.3/sqmail-4.3.17/src/dkimsign.cpp