s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions
dkim.cpp File Reference
#include <string.h>
#include "dkim.h"
#include "dkimsign.h"
#include "dkimverify.h"
Include dependency graph for dkim.cpp:

Go to the source code of this file.

Macros

#define DKIMID   ('D' | 'K'<<8 | 'I'<<16 | 'M'<<24)
 
#define VERSION_STRING   "1.4.0"
 

Functions

int DKIM_CALL DKIMSignInit (DKIMContext *pSignContext, DKIMSignOptions *pOptions)
 
int DKIM_CALL DKIMSignProcess (DKIMContext *pSignContext, char *szBuffer, int nBufLength)
 
int DKIM_CALL DKIMSignGetSig2 (DKIMContext *pSignContext, char *szRSAPrivKey, char *szECCPrivKey, char **pszSignature)
 
void DKIM_CALL DKIMSignFree (DKIMContext *pSignContext)
 
int DKIM_CALL DKIMVerifyInit (DKIMContext *pVerifyContext, DKIMVerifyOptions *pOptions)
 
int DKIM_CALL DKIMVerifyProcess (DKIMContext *pVerifyContext, const char *const szBuffer, int nBufLength)
 
int DKIM_CALL DKIMVerifyResults (DKIMContext *pVerifyContext)
 
int DKIM_CALL DKIMVerifyGetDetails (DKIMContext *pVerifyContext, int *nSigCount, DKIMVerifyDetails **pDetails, char *szPractices)
 
void DKIM_CALL DKIMVerifyFree (DKIMContext *pVerifyContext)
 
const char *DKIM_CALL DKIMVersion ()
 
const char *DKIM_CALL DKIMGetErrorString (int ErrorCode)
 

Macro Definition Documentation

◆ DKIMID

#define DKIMID   ('D' | 'K'<<8 | 'I'<<16 | 'M'<<24)

Definition at line 27 of file dkim.cpp.

◆ VERSION_STRING

#define VERSION_STRING   "1.4.0"

Definition at line 32 of file dkim.cpp.

Function Documentation

◆ DKIMGetErrorString()

const char *DKIM_CALL DKIMGetErrorString ( int  ErrorCode)

Definition at line 192 of file dkim.cpp.

◆ DKIMSignFree()

void DKIM_CALL DKIMSignFree ( DKIMContext pSignContext)

Definition at line 85 of file dkim.cpp.

Here is the caller graph for this function:

◆ DKIMSignGetSig2()

int DKIM_CALL DKIMSignGetSig2 ( DKIMContext pSignContext,
char *  szRSAPrivKey,
char *  szECCPrivKey,
char **  pszSignature 
)

Definition at line 77 of file dkim.cpp.

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

◆ DKIMSignInit()

int DKIM_CALL DKIMSignInit ( DKIMContext pSignContext,
DKIMSignOptions pOptions 
)

Definition at line 53 of file dkim.cpp.

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

◆ DKIMSignProcess()

int DKIM_CALL DKIMSignProcess ( DKIMContext pSignContext,
char *  szBuffer,
int  nBufLength 
)

Definition at line 69 of file dkim.cpp.

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

◆ DKIMVerifyFree()

void DKIM_CALL DKIMVerifyFree ( DKIMContext pVerifyContext)

Definition at line 151 of file dkim.cpp.

Here is the caller graph for this function:

◆ DKIMVerifyGetDetails()

int DKIM_CALL DKIMVerifyGetDetails ( DKIMContext pVerifyContext,
int nSigCount,
DKIMVerifyDetails **  pDetails,
char *  szPractices 
)

Definition at line 136 of file dkim.cpp.

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

◆ DKIMVerifyInit()

int DKIM_CALL DKIMVerifyInit ( DKIMContext pVerifyContext,
DKIMVerifyOptions pOptions 
)

Definition at line 95 of file dkim.cpp.

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

◆ DKIMVerifyProcess()

int DKIM_CALL DKIMVerifyProcess ( DKIMContext pVerifyContext,
const char *const  szBuffer,
int  nBufLength 
)

Definition at line 115 of file dkim.cpp.

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

◆ DKIMVerifyResults()

int DKIM_CALL DKIMVerifyResults ( DKIMContext pVerifyContext)

Definition at line 126 of file dkim.cpp.

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

◆ DKIMVersion()

const char *DKIM_CALL DKIMVersion ( )

Definition at line 161 of file dkim.cpp.