win32crypt.CertAddSerializedElementToStore

PyCERT_CONTEXT = CertAddSerializedElementToStore(CertStore, Element , AddDisposition , ContextTypeFlags , Flags )

Imports a serialized Certificate context, CRL, or CTL

Parameters

CertStore : PyCERTSTORE

Certificate Store to which the context will be added, can be None

Element : buffer

Serialized data

AddDisposition : int

one of CERT_STORE_ADD_* values

ContextTypeFlags=CERT_STORE_CERTIFICATE_CONTEXT_FLAG : int

One of CERT_STORE_*_CONTEXT_FLAG constants

Flags=0 : int

Reserved, use only 0

Comments

Currently only Certificate contexts are supported