74 references to StorePermissionFlags
System (63)
security\system\security\cryptography\cryptoapi.cs (10)
3421
StorePermission sp = new StorePermission(
StorePermissionFlags
.EnumerateCertificates);
3452
StorePermission sp = new StorePermission(
StorePermissionFlags
.EnumerateCertificates);
3706
StorePermission sp = new StorePermission(
StorePermissionFlags
.AddToStore);
3741
StorePermission sp = new StorePermission(
StorePermissionFlags
.AddToStore);
3768
StorePermission sp = new StorePermission(
StorePermissionFlags
.RemoveFromStore);
3803
StorePermission sp = new StorePermission(
StorePermissionFlags
.DeleteStore);
3806
StorePermission sp = new StorePermission(
StorePermissionFlags
.OpenStore);
3811
StorePermission sp = new StorePermission(
StorePermissionFlags
.CreateStore);
3816
StorePermission sp = new StorePermission(
StorePermissionFlags
.CreateStore);
3906
StorePermission sp = new StorePermission(
StorePermissionFlags
.EnumerateCertificates);
security\system\security\cryptography\x509\x509certificate2collection.cs (4)
181
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
213
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
252
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
283
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
security\system\security\cryptography\x509\x509chain.cs (3)
187
StorePermission sp = new StorePermission(
StorePermissionFlags
.OpenStore |
StorePermissionFlags
.EnumerateCertificates);
200
ps.AddPermission(new StorePermission(
StorePermissionFlags
.AddToStore));
security\system\security\cryptography\x509\x509utils.cs (1)
345
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
security\system\security\permissions\storepermission.cs (21)
16
private
StorePermissionFlags
m_flags;
20
m_flags =
StorePermissionFlags
.AllFlags;
22
m_flags =
StorePermissionFlags
.NoFlags;
27
public StorePermission (
StorePermissionFlags
flag) {
32
public
StorePermissionFlags
Flags {
47
return m_flags ==
StorePermissionFlags
.AllFlags;
60
StorePermissionFlags
flag_union = m_flags | operand.m_flags;
61
if (flag_union ==
StorePermissionFlags
.NoFlags)
73
return m_flags ==
StorePermissionFlags
.NoFlags;
77
StorePermissionFlags
sourceFlag = this.m_flags;
78
StorePermissionFlags
targetFlag = operand.m_flags;
92
StorePermissionFlags
flag_intersect = operand.m_flags & this.m_flags;
93
if (flag_intersect ==
StorePermissionFlags
.NoFlags)
104
return new StorePermission((
StorePermissionFlags
)m_flags);
129
m_flags =
StorePermissionFlags
.AllFlags;
133
m_flags =
StorePermissionFlags
.NoFlags;
136
StorePermissionFlags
flags = (
StorePermissionFlags
) Enum.Parse(typeof(
StorePermissionFlags
), strFlags);
142
internal static void VerifyFlags (
StorePermissionFlags
flags) {
143
if ((flags & ~
StorePermissionFlags
.AllFlags) != 0)
security\system\security\permissions\storepermissionattribute.cs (24)
15
StorePermissionFlags
m_flags =
StorePermissionFlags
.NoFlags;
19
public
StorePermissionFlags
Flags {
28
get { return (m_flags &
StorePermissionFlags
.CreateStore) != 0; }
29
set { m_flags = value ? m_flags |
StorePermissionFlags
.CreateStore : m_flags & ~
StorePermissionFlags
.CreateStore; }
33
get { return (m_flags &
StorePermissionFlags
.DeleteStore) != 0; }
34
set { m_flags = value ? m_flags |
StorePermissionFlags
.DeleteStore : m_flags & ~
StorePermissionFlags
.DeleteStore; }
38
get { return (m_flags &
StorePermissionFlags
.EnumerateStores) != 0; }
39
set { m_flags = value ? m_flags |
StorePermissionFlags
.EnumerateStores : m_flags & ~
StorePermissionFlags
.EnumerateStores; }
43
get { return (m_flags &
StorePermissionFlags
.OpenStore) != 0; }
44
set { m_flags = value ? m_flags |
StorePermissionFlags
.OpenStore : m_flags & ~
StorePermissionFlags
.OpenStore; }
48
get { return (m_flags &
StorePermissionFlags
.AddToStore) != 0; }
49
set { m_flags = value ? m_flags |
StorePermissionFlags
.AddToStore : m_flags & ~
StorePermissionFlags
.AddToStore; }
53
get { return (m_flags &
StorePermissionFlags
.RemoveFromStore) != 0; }
54
set { m_flags = value ? m_flags |
StorePermissionFlags
.RemoveFromStore : m_flags & ~
StorePermissionFlags
.RemoveFromStore; }
58
get { return (m_flags &
StorePermissionFlags
.EnumerateCertificates) != 0; }
59
set { m_flags = value ? m_flags |
StorePermissionFlags
.EnumerateCertificates : m_flags & ~
StorePermissionFlags
.EnumerateCertificates; }
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
96
ps.AddPermission(new StorePermission(
StorePermissionFlags
.AddToStore));
System.Security (10)
system\security\cryptography\cryptoapi.cs (7)
2691
StorePermission sp = new StorePermission(
StorePermissionFlags
.EnumerateCertificates);
2727
StorePermission sp = new StorePermission(
StorePermissionFlags
.AddToStore);
2756
StorePermission sp = new StorePermission(
StorePermissionFlags
.AddToStore);
2789
StorePermission sp = new StorePermission(
StorePermissionFlags
.DeleteStore);
2792
StorePermission sp = new StorePermission(
StorePermissionFlags
.OpenStore);
2797
StorePermission sp = new StorePermission(
StorePermissionFlags
.CreateStore);
2802
StorePermission sp = new StorePermission(
StorePermissionFlags
.CreateStore);
system\security\cryptography\x509\x509ui.cs (1)
100
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
system\security\cryptography\x509\x509utils.cs (1)
189
StorePermission sp = new StorePermission(
StorePermissionFlags
.AllFlags);
system\security\cryptography\xml\utils.cs (1)
877
StorePermission sp = new StorePermission(
StorePermissionFlags
.OpenStore);