Module: CPKIFCAPI2
Definition in file PKIFCAPI2.cpp.
#include "PKIFCAPI2.h"
#include "ToolkitUtils.h"
#include "CAPIUtils.h"
#include "PKIFCAPICredential2.h"
#include "PKIFCAPICryptContext2.h"
#include "PKIFCryptoErrors.h"
#include "PKIFCAPIErrors.h"
#include "PKIFCryptoException.h"
#include "SubjectPublicKeyInfo.h"
#include "Certificate.h"
#include "KeyUsage.h"
#include "boost/numeric/conversion/cast.hpp"
#include <atlbase.h>
#include <sstream>

Go to the source code of this file.
Defines | |
| #define | CLEANUP |
| #define | CLEANUP |
| #define | CLEANUP |
Variables | |
| BYTESREVERSED | g_bytesReversed = UNSET |
| #define CLEANUP |
Value:
{ \
if (NULL != userKey) \
{ CryptDestroyKey(userKey); userKey = NULL; } \
if (NULL != tmpCtx && TRUE == freeContext) \
{ CryptReleaseContext(tmpCtx, 0); tmpCtx = NULL; } \
}
| #define CLEANUP |
Value:
{ \
if (NULL != hHash) \
{ CryptDestroyHash(hHash); hHash = NULL; } \
if (NULL != tmpHashCtx && true == freeContext) \
{ CryptReleaseContext(tmpHashCtx, 0); tmpHashCtx = NULL; } \
}
| #define CLEANUP |
Value:
{ \
if (NULL != bin) \
{ delete[] bin; bin = NULL; } \
if (NULL != cert) \
{ CertFreeCertificateContext(cert); cert = NULL; } \
}
| BYTESREVERSED g_bytesReversed = UNSET |
1.5.6