Function

CertAddCTLContextToStore

Directives

External
Name
Stdcall

Module

wcrypt2

Last Modified

7/15/2014 3:26:44 PM

Comments

+-------------------------------------------------------------------------
  Add the CTL context to the store according to the specified
  disposition option.
  In addition to the encoded CTL, the context's properties are
  also copied.  Note, the CERT_KEY_CONTEXT_PROP_ID property (and its
  CERT_KEY_PROV_HANDLE_PROP_ID or CERT_KEY_SPEC_PROP_ID) isn't copied.
  Makes a copy of the encoded CTL before adding to the store.
  dwAddDispostion specifies the action to take if the CTL
  already exists in the store. See CertAddCertificateContextToStore for a
  list of and actions taken.
  Compares the CTL's SubjectUsage, ListIdentifier and any of its signers
  to determine if the CTL already exists in the store.
  ppStoreContext can be NULL, indicating the caller isn't interested
  in getting the CTL_CONTEXT of the added or existing CTL.
--------------------------------------------------------------------------

Scope

Interfaced

Declaration

function CertAddCTLContextToStore(hCertStore :HCERTSTORE;
                                  pCtlContext :PCCTL_CONTEXT;
                                  dwAddDisposition :DWORD;
                              var ppStoreContext :PCCTL_CONTEXT
                                  ):BOOL ; stdcall;


Source