PyCRYPTPROV = CryptAcquireContext(Container, Provider
, ProvType
, Flags
)
Retrieve handle to a cryptographic service provider
Parameters
Container : PyUnicode
Name of key container, can be none to use a Provider's default key container
(usually username)Provider : PyUnicode
Name of cryptographic provider. (MS_*_PROV) Use None for user's default provider.ProvType : int
One of the PROV_* constantsFlags : int
Combination of
CRYPT_VERIFYCONTEXT,CRYPT_NEWKEYSET,CRYPT_MACHINE_KEYSET,CRYPT_DELETEKEYSET,CRYPT_SILENTReturn Value
Returns None if CRYPT_DELETEKEYSET is specified, otherwise returns a handle to the provider