s/qmail 4.3.21
Next generation secure email transport
Loading...
Searching...
No Matches
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 DKIMSignInit (DKIMContext *pSignContext, DKIMSignOptions *pOptions)
int DKIMSignProcess (DKIMContext *pSignContext, char *szBuffer, int nBufLength)
int DKIMSignGetSig2 (DKIMContext *pSignContext, char *szRSAPrivKey, char *szECCPrivKey, char **pszSignature)
void DKIMSignFree (DKIMContext *pSignContext)
int DKIMVerifyInit (DKIMContext *pVerifyContext, DKIMVerifyOptions *pOptions)
int DKIMVerifyProcess (DKIMContext *pVerifyContext, const char *const szBuffer, int nBufLength)
int DKIMVerifyResults (DKIMContext *pVerifyContext)
int DKIMVerifyGetDetails (DKIMContext *pVerifyContext, int *nSigCount, DKIMVerifyDetails **pDetails, char *szPractices)
void DKIMVerifyFree (DKIMContext *pVerifyContext)
const char * DKIMVersion ()
const char * 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 * DKIMGetErrorString ( int ErrorCode)

Definition at line 192 of file dkim.cpp.

◆ DKIMSignFree()

void DKIMSignFree ( DKIMContext * pSignContext)

Definition at line 85 of file dkim.cpp.

Here is the caller graph for this function:

◆ DKIMSignGetSig2()

int 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 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 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 DKIMVerifyFree ( DKIMContext * pVerifyContext)

Definition at line 151 of file dkim.cpp.

Here is the caller graph for this function:

◆ DKIMVerifyGetDetails()

int 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 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 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 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 * DKIMVersion ( )

Definition at line 161 of file dkim.cpp.