s/qmail 4.3.17
Next generation secure email transport
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes
CDKIMVerify Class Reference

#include <dkimverify.h>

Public Member Functions

 CDKIMVerify ()
 
 ~CDKIMVerify ()
 
int Init (DKIMVerifyOptions *pOptions)
 
int GetResults (void)
 
int GetDetails (int *nSigCount, DKIMVerifyDetails **pDetails)
 
virtual int ProcessHeaders (void)
 
virtual int ProcessBody (char *szBuffer, int nBufLength, bool bEOF)
 
const char * GetPractices ()
 
- Public Member Functions inherited from CDKIMBase
 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)
 

Protected Member Functions

int ParseDKIMSignature (const string &sHeader, SignatureInfo &sig)
 
SelectorInfoGetSelector (const string &sSelector, const string &sDomain)
 

Protected Attributes

list< SignatureInfoSignatures
 
list< SelectorInfoSelectors
 
DKIMDNSCALLBACK m_pfnSelectorCallback
 
bool m_HonorBodyLengthTag
 
bool m_CheckPractices
 
bool m_SubjectIsRequired
 
bool m_SaveCanonicalizedData
 
bool m_AllowUnsignedFromHeaders
 
vector< DKIMVerifyDetailsDetails
 
string Practices
 
- Protected Attributes inherited from CDKIMBase
char * m_From
 
char * m_Sender
 
char * m_hTag
 
int m_hTagSize
 
int m_hTagPos
 
char * m_Line
 
int m_LineSize
 
int m_LinePos
 
bool m_InHeaders
 
list< string > HeaderList
 

Additional Inherited Members

- Static Public Member Functions inherited from CDKIMBase
static void RemoveSWSP (char *szBuffer)
 
static void RemoveSWSP (char *pBuffer, int &nBufLength)
 
static void RemoveSWSP (string &sBuffer)
 
static void CompressSWSP (char *pBuffer, int &nBufLength)
 
static void CompressSWSP (string &sBuffer)
 
static string RelaxHeader (const string &sHeader)
 

Detailed Description

Definition at line 103 of file dkimverify.h.

Constructor & Destructor Documentation

◆ CDKIMVerify()

Definition at line 516 of file dkimverify.cpp.

◆ ~CDKIMVerify()

Definition at line 529 of file dkimverify.cpp.

Member Function Documentation

◆ GetDetails()

int GetDetails ( int nSigCount,
DKIMVerifyDetails **  pDetails 
)

Definition at line 1376 of file dkimverify.cpp.

Here is the caller graph for this function:

◆ GetPractices()

const char * GetPractices ( )
inline

Definition at line 120 of file dkimverify.h.

Here is the caller graph for this function:

◆ GetResults()

int GetResults ( void  )

Definition at line 559 of file dkimverify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSelector()

SelectorInfo & GetSelector ( const string &  sSelector,
const string &  sDomain 
)
protected

Definition at line 1334 of file dkimverify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

int Init ( DKIMVerifyOptions pOptions)

Definition at line 536 of file dkimverify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseDKIMSignature()

int ParseDKIMSignature ( const string &  sHeader,
SignatureInfo sig 
)
protected

Definition at line 933 of file dkimverify.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessBody()

int ProcessBody ( char *  szBuffer,
int  nBufLength,
bool  bEOF 
)
virtual

Reimplemented from CDKIMBase.

Definition at line 1128 of file dkimverify.cpp.

Here is the call graph for this function:

◆ ProcessHeaders()

int ProcessHeaders ( void  )
virtual

Reimplemented from CDKIMBase.

Definition at line 758 of file dkimverify.cpp.

Here is the call graph for this function:

Field Documentation

◆ Details

vector<DKIMVerifyDetails> Details
protected

Definition at line 142 of file dkimverify.h.

◆ m_AllowUnsignedFromHeaders

bool m_AllowUnsignedFromHeaders
protected

Definition at line 140 of file dkimverify.h.

◆ m_CheckPractices

bool m_CheckPractices
protected

Definition at line 137 of file dkimverify.h.

◆ m_HonorBodyLengthTag

bool m_HonorBodyLengthTag
protected

Definition at line 136 of file dkimverify.h.

◆ m_pfnSelectorCallback

DKIMDNSCALLBACK m_pfnSelectorCallback
protected

Definition at line 133 of file dkimverify.h.

◆ m_SaveCanonicalizedData

bool m_SaveCanonicalizedData
protected

Definition at line 139 of file dkimverify.h.

◆ m_SubjectIsRequired

bool m_SubjectIsRequired
protected

Definition at line 138 of file dkimverify.h.

◆ Practices

string Practices
protected

Definition at line 143 of file dkimverify.h.

◆ Selectors

list<SelectorInfo> Selectors
protected

Definition at line 131 of file dkimverify.h.

◆ Signatures

list<SignatureInfo> Signatures
protected

Definition at line 130 of file dkimverify.h.


The documentation for this class was generated from the following files: