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 | |
|---|---|---|
| AddToStore | The ability to add a certificate to a store. For security reasons, this ability should be granted only to highly trusted code. | |
| AllFlags | The ability to perform all certificate and 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. | |
| EnumerateCertificates | The ability to enumerate the certificates in a store. For privacy reasons, this ability should be granted only to fully trusted code. | |
| EnumerateStores | The ability to enumerate the stores on a computer. This functionality is not exposed by the X509Store class. | |
| NoFlags | Permission is not given to perform any certificate or store operations. | |
| 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). | |
| 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. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.