diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2004-07-07 23:39:07 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2004-07-07 23:39:07 +0400 |
commit | 4c2bbc43a0c2cdd065387416dd06ac2192c0b958 (patch) | |
tree | 48cbe504dff63b1a8e9aa33d1bdc1073773705cd /mcs/class/System.Security/System.Security.Permissions | |
parent | 6a84d3c639d15068a883f01c853f44dbc8e48129 (diff) |
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* StorePermissionFlags.cs: New. CAS-related enum for StorePermission.
Adding it "creates" the namespace for corcompare.
svn path=/trunk/mcs/; revision=30855
Diffstat (limited to 'mcs/class/System.Security/System.Security.Permissions')
-rw-r--r-- | mcs/class/System.Security/System.Security.Permissions/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.Security/System.Security.Permissions/StorePermissionFlags.cs | 50 |
2 files changed, 54 insertions, 0 deletions
diff --git a/mcs/class/System.Security/System.Security.Permissions/ChangeLog b/mcs/class/System.Security/System.Security.Permissions/ChangeLog new file mode 100644 index 00000000000..60cc1cbe013 --- /dev/null +++ b/mcs/class/System.Security/System.Security.Permissions/ChangeLog @@ -0,0 +1,4 @@ +2004-07-07 Sebastien Pouliot <sebastien@ximian.com> + + * StorePermissionFlags.cs: New. CAS-related enum for StorePermission. + Adding it "creates" the namespace for corcompare. diff --git a/mcs/class/System.Security/System.Security.Permissions/StorePermissionFlags.cs b/mcs/class/System.Security/System.Security.Permissions/StorePermissionFlags.cs new file mode 100644 index 00000000000..61ee3541b70 --- /dev/null +++ b/mcs/class/System.Security/System.Security.Permissions/StorePermissionFlags.cs @@ -0,0 +1,50 @@ +// +// System.Security.Permissions.StorePermissionFlags enum +// +// Author: +// Sebastien Pouliot <sebastien@ximian.com> +// +// Copyright (C) 2004 Novell Inc. (http://www.novell.com) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +#if NET_2_0 + +using System; + +namespace System.Security.Permissions { + + [Flags] + public enum StorePermissionFlags { + NoFlags = 0, + AddToStore, + CreateStore, + DeleteStore, + EnumerateCertificates, + EnumerateStores, + OpenStore, + RemoveFromStore, + AllFlags = AddToStore | CreateStore | DeleteStore | OpenStore | + EnumerateCertificates | EnumerateStores | RemoveFromStore + } +} + +#endif |