StorePermissionFlags Enumeration
Specifies the permitted access to X.509 certificate stores.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Security.PermissionsAssembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| NoFlags | Permission is not given to perform any certificate or store operations. | |
| CreateStore | The ability to create a new store. New stores are created by calling the X509Store::Open method. | |
| DeleteStore | The ability to delete a store. This functionality is not exposed by the X509Store class. | |
| EnumerateStores | The ability to enumerate the stores on a computer. This functionality is not exposed by the X509Store class. | |
| OpenStore | The ability to open a store. The ability to open a store does not include the ability to enumerate certificates (which raises privacy concerns) or to add or remove certificates (which raises security concerns). | |
| AddToStore | The ability to add a certificate to a store. For security reasons, this ability should be granted only to highly trusted code. | |
| RemoveFromStore | The ability to remove a certificate from a store. This ability should be granted only to highly trusted code because removing a certificate can result in a denial of service. | |
| EnumerateCertificates | The ability to enumerate the certificates in a store. For privacy reasons, this ability should be granted only to fully trusted code. | |
| AllFlags | The ability to perform all certificate and store operations. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.