Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CCertContext Class Reference

Certificate context wrapper. More...

#include <CryptObjects.h>

List of all members.

Public Member Functions

 CCertContext ()
 Construct an empty certificate context wrapper.
 CCertContext (PCCERT_CONTEXT pCertContext)
 Construct a wrapper around an existing certificate context.
void Free ()
 Free any encapsulated certificate context.
void Attach (PCCERT_CONTEXT pCertContext)
 Attach the given certificate context.
PCCERT_CONTEXT Detach ()
 Detach the encapsulated certificate context.
PCCERT_CONTEXT * operator & ()
 Extract for the address of the encapsulated context.
 operator PCCERT_CONTEXT () const
 Extractor for the certificate context.
PCCERT_CONTEXT operator-> ()
 Pointer to structure member operator.
CCertContext Duplicate ()
 Return a duplicate of the encapsulated certificate context.
BOOL AcquirePrivateKey (DWORD dwFlags, HCRYPTPROV *phCryptProv, DWORD *pdwKeySpec, BOOL *pfCallerFreeProv)
 Acquire the certificates private key.
BOOL GetContextProperty (DWORD dwPropId, PVOID *pvData, DWORD *pcbData=NULL)
 Return a property of the certificate into memory allocated by LocalAlloc.
BOOL GetContextProperty (DWORD dwPropId, PVOID pvData, DWORD *pcbData)
 Return a property of the certificate context into a pre-allocate buffer.
BOOL SetContextProperty (DWORD dwPropId, PVOID pvData, DWORD dwFlags=0)
 Set a property of the certificate context.
BOOL CreateContext (const BYTE *pbCertEncoded, DWORD cbCertEncoded, DWORD dwCertEncodingType=MY_ENCODING_TYPE)
 Create a certificate context from an encoded object.
 ~CCertContext ()
 Tidy up the encapsulated context.

Protected Member Functions

 CCertContext (const CCertContext &)
const CCertContextoperator= (const CCertContext &)

Protected Attributes

PCCERT_CONTEXT m_pCertContext


Detailed Description

Certificate context wrapper.


Constructor & Destructor Documentation

OW32::CCertContext::CCertContext PCCERT_CONTEXT  pCertContext  )  [inline]
 

Construct a wrapper around an existing certificate context.

Parameters:
pCertContext The context to wrap


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:23 2005 for OW32 by  doxygen 1.3.9.1