win32crypt.CertOpenStore

PyCERTSTORE = CertOpenStore(StoreProvider, MsgAndCertEncodingType , CryptProv , Flags , Para )

Opens a certificate store

Parameters

StoreProvider : int

CERT_STORE_PROV_*, currently does not accept string provider names

MsgAndCertEncodingType : int

Only used with CERT_STORE_PROV_MSG, CERT_STORE_PROV_PKCS7, and CERT_STORE_PROV_FILENAME. Usually should be X509_ASN_ENCODING combined with PKCS_7_ASN_ENCODING

CryptProv : PyCRYPTPROV

Handle to a CSP, can be None to use default provider

Flags : int

Combination of CERT_STORE_*_FLAG flags

Para=None : object

PyCERT_SYSTEM_STORE_RELOCATE_PARA , or data specific to provider