win32crypt.CryptSetProviderEx

CryptSetProviderEx(ProvName, ProvType, Flags)

Sets default provider (for machine or user) for specified type

Parameters

ProvName : PyUnicode

Name of new default provider (MS_*_PROV value)

ProvType : int

One of the PROV_* provider types

Flags : int

CRYPT_MACHINE_DEFAULT or CRYPT_USER_DEFAULT. Combine with CRYPT_DELETE_DEFAULT to remove default.