// This is a generated source file for Chilkat version 11.5.0
#ifndef _C_CkDkim_H
#define _C_CkDkim_H
#include "chilkatDefs.h"
#include "ck_inttypes.h"
#include "Chilkat_C.h"


CK_C_VISIBLE_PUBLIC void CkDkim_setAbortCheck(HCkDkim cHandle, BOOL (*fnAbortCheck)(void));
CK_C_VISIBLE_PUBLIC void CkDkim_setPercentDone(HCkDkim cHandle, BOOL (*fnPercentDone)(int pctDone));
CK_C_VISIBLE_PUBLIC void CkDkim_setProgressInfo(HCkDkim cHandle, void (*fnProgressInfo)(const char *name, const char *value));
CK_C_VISIBLE_PUBLIC void CkDkim_setTaskCompleted(HCkDkim cHandle, void (*fnTaskCompleted)(HCkTask hTask));

CK_C_VISIBLE_PUBLIC void CkDkim_setAbortCheck2(HCkDkim cHandle, BOOL (*fnAbortCheck2)(void *pContext));
CK_C_VISIBLE_PUBLIC void CkDkim_setPercentDone2(HCkDkim cHandle, BOOL (*fnPercentDone2)(int pctDone, void *pContext));
CK_C_VISIBLE_PUBLIC void CkDkim_setProgressInfo2(HCkDkim cHandle, void (*fnProgressInfo2)(const char *name, const char *value, void *pContext));
CK_C_VISIBLE_PUBLIC void CkDkim_setTaskCompleted2(HCkDkim cHandle, void (*fnTaskCompleted2)(HCkTask hTask, void *pContext));

// setExternalProgress is for C callback functions defined in the external programming language (such as Go)
CK_C_VISIBLE_PUBLIC void CkDkim_setExternalProgress(HCkDkim cHandle, BOOL on);
CK_C_VISIBLE_PUBLIC void CkDkim_setCallbackContext(HCkDkim cHandle, void *pContext);

CK_C_VISIBLE_PUBLIC HCkDkim CkDkim_Create(void);
CK_C_VISIBLE_PUBLIC HCkDkim CkDkim_Create2(int progLang);
CK_C_VISIBLE_PUBLIC void CkDkim_Dispose(HCkDkim handle);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_getAbortCurrent(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putAbortCurrent(HCkDkim cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkDkim_getDebugLogFilePath(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDebugLogFilePath(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_debugLogFilePath(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDkimAlg(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimAlg(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_dkimAlg(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC int CkDkim_getDkimBodyLengthCount(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimBodyLengthCount(HCkDkim cHandle, int newVal);
CK_C_VISIBLE_PUBLIC void CkDkim_getDkimCanon(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimCanon(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_dkimCanon(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDkimDomain(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimDomain(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_dkimDomain(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDkimHeaders(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimHeaders(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_dkimHeaders(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDkimSelector(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDkimSelector(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_dkimSelector(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDomainKeyAlg(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDomainKeyAlg(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_domainKeyAlg(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDomainKeyCanon(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDomainKeyCanon(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_domainKeyCanon(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDomainKeyDomain(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDomainKeyDomain(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_domainKeyDomain(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDomainKeyHeaders(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDomainKeyHeaders(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_domainKeyHeaders(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getDomainKeySelector(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkDkim_putDomainKeySelector(HCkDkim cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkDkim_domainKeySelector(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC int CkDkim_getHeartbeatMs(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putHeartbeatMs(HCkDkim cHandle, int newVal);
CK_C_VISIBLE_PUBLIC void CkDkim_getLastErrorHtml(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkDkim_lastErrorHtml(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getLastErrorText(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkDkim_lastErrorText(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getLastErrorXml(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkDkim_lastErrorXml(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_getLastMethodSuccess(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putLastMethodSuccess(HCkDkim cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_getUtf8(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putUtf8(HCkDkim cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_getVerboseLogging(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_putVerboseLogging(HCkDkim cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkDkim_getVerifyInfo(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkDkim_verifyInfo(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC void CkDkim_getVersion(HCkDkim cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkDkim_version(HCkDkim cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_DkimSign(HCkDkim cHandle, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_DkimVerify(HCkDkim cHandle, int sigIndex, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_DomainKeySign(HCkDkim cHandle, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_DomainKeyVerify(HCkDkim cHandle, int sigIndex, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_LoadPublicKey(HCkDkim cHandle, const char *selector, const char *domain, const char *publicKey);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_LoadPublicKeyFile(HCkDkim cHandle, const char *selector, const char *domain, const char *publicKeyFilepath);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_LoadTaskCaller(HCkDkim cHandle, HCkTask task);
CK_C_VISIBLE_PUBLIC int CkDkim_NumDkimSigs(HCkDkim cHandle, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC int CkDkim_NumDomainKeySigs(HCkDkim cHandle, HCkBinData mimeData);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_PrefetchPublicKey(HCkDkim cHandle, const char *selector, const char *domain);
CK_C_VISIBLE_PUBLIC HCkTask CkDkim_PrefetchPublicKeyAsync(HCkDkim cHandle, const char *selector, const char *domain);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_SetDkimPrivateKey(HCkDkim cHandle, HCkPrivateKey privateKey);
CK_C_VISIBLE_PUBLIC BOOL CkDkim_SetDomainKeyPrivateKey(HCkDkim cHandle, HCkPrivateKey privateKey);
#endif
