Back to product page

CertLocations Enumeration


List of certificate locations.

Remarks

Possible values for CertLocations:

Constant Value Description
CurrentUser 0 System stores at registry location HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates.
CurrentService 1 System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\Crytography\Services\\SystemCertificates.
CurrentUserGroupPolicy 2 System stores at registry location HKEY_CURRENT_USER\Software\Policy\Microsoft\SystemCertificates.
LocalMachineEnterprise 3 Contains certificates shared across domains in the enterprise and downloaded from the global enterprise directory. To synchronize the client's enterprise store, the enterprise directory is polled every eight hours and certificates are downloaded automatically in the background.
LocalMachineGroupPolicy 4 System stores at registry location HKEY_LOCAL_MACHINE\Software\Policy\Microsoft\SystemCertificates.
Services 5 System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Services\\SystemCertificates.
Users 6 System stores at registry location HKEY_USERS\\Software\Microsoft\SystemCertificates.
LocalMachine 7 System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates.
Memory 8 A certificate store in cached memory.

Platforms

Windows