Module: CPKIFNSSRaw
Definition in file PKIFNSSRaw.cpp.
#include "PKIFNSSRaw.h"
#include "PKIFNSSRawCryptContext.h"
#include "PKIFNSSHashContext.h"
#include "PKIFCryptoException.h"
#include "PKIFKeyMaterial.h"
#include "PKIFCryptoPPKeyMaterial.h"
#include "PKIFAlgorithm.h"
#include "ToolkitUtils.h"
#include "PKIFNSSErrors.h"
#include "PKIFNSSDatabase.h"
#include "PKIFCryptoErrors.h"
#include "Certificate.h"
#include "Buffer.h"
#include <sstream>
#include "PKIFNSSConfig.h"
#include "PKIFNSSUtils.h"
#include "nspr.h"
Go to the source code of this file.
Defines | |
#define | CLEANUP |
#define | CLEANUP |
#define | CLEANUP |
#define CLEANUP |
Value:
{ \ if (cert && cert[0]) \ { CERT_DestroyCertificate(cert[0]); cert[0] = 0; } \ if (cert) \ { PR_Free(cert); cert = 0; } \ if (pk) \ { SECKEY_DestroyPublicKey(pk); pk = 0; } \ }
#define CLEANUP |
Value:
{ \ if (cert && cert[1] ) \ { CERT_DestroyCertificate(cert[1]); cert[1] = 0; } \ if (cert && cert[0]) \ { CERT_DestroyCertificate(cert[0]); cert[0] = 0; } \ if (cert) \ { PR_Free(cert); cert = 0; } \ }
#define CLEANUP |
Value:
{ \
if (pk) \
{ SECKEY_DestroyPublicKey(pk); pk = 0; } \
}