PCCERT_CONTEXT

From: Oliver Young (please_at_no.spam.com)
Date: 09/30/03


Date: Tue, 30 Sep 2003 14:05:59 +0200


    How can I copy one PCCERT_CONTEXT structure into another PCCERT_CONTEXT structure? If I have:

PCCERT_CONTEXT firstCert;
PCCERT_CONTEXT secondCert;

firstCert = CertFindCertificateInStore();

//How to copy?
secondCert = firstCert;

CertFreeCertificateContext(firstCert);

secondCert //should be accessible here

Is this possible? Does it make any sense?