35#define DKIM_POLICY_DOMAIN_NAME_TOO_LONG -50
36#define DKIM_POLICY_DNS_TEMP_FAILURE -51
37#define DKIM_POLICY_DNS_PERM_FAILURE -52
38#define DKIM_POLICY_INVALID -53
48 SelectorInfo(
const string &sSelector,
const string &sDomain);
62 int Parse(
char* Buffer);
71 void Hash(
const char* szBuffer,
unsigned nBufLength,
bool IsBody=
false);
118 virtual int ProcessBody(
char* szBuffer,
int nBufLength,
bool bEOF);
DKIMDNSCALLBACK m_pfnSelectorCallback
SelectorInfo & GetSelector(const string &sSelector, const string &sDomain)
vector< DKIMVerifyDetails > Details
const char * GetPractices()
bool m_AllowUnsignedFromHeaders
bool m_SaveCanonicalizedData
int GetDetails(int *nSigCount, DKIMVerifyDetails **pDetails)
int ParseDKIMSignature(const string &sHeader, SignatureInfo &sig)
list< SelectorInfo > Selectors
virtual int ProcessHeaders(void)
virtual int ProcessBody(char *szBuffer, int nBufLength, bool bEOF)
bool m_HonorBodyLengthTag
list< SignatureInfo > Signatures
vector< string > SignedHeaders
unsigned HeaderCanonicalization
bool m_SaveCanonicalizedData
unsigned UnverifiedBodyCount
unsigned BodyCanonicalization
void Hash(const char *szBuffer, unsigned nBufLength, bool IsBody=false)
unsigned VerifiedBodyCount
SelectorInfo * m_pSelector
int(* DKIMDNSCALLBACK)(const char *szFQDN, char *szBuffer, int nBufLen)