48 lines
1.6 KiB
C#
48 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Security.Permissions
|
|
{
|
|
/// <summary>Specifies the type of key container access allowed.</summary>
|
|
// Token: 0x02000559 RID: 1369
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum KeyContainerPermissionFlags
|
|
{
|
|
/// <summary>No access to a key container.</summary>
|
|
// Token: 0x04001483 RID: 5251
|
|
NoFlags = 0,
|
|
/// <summary>Create a key container.</summary>
|
|
// Token: 0x04001484 RID: 5252
|
|
Create = 1,
|
|
/// <summary>Open a key container and use the public key.</summary>
|
|
// Token: 0x04001485 RID: 5253
|
|
Open = 2,
|
|
/// <summary>Delete a key container.</summary>
|
|
// Token: 0x04001486 RID: 5254
|
|
Delete = 4,
|
|
/// <summary>Import a key into a key container.</summary>
|
|
// Token: 0x04001487 RID: 5255
|
|
Import = 16,
|
|
/// <summary>Export a key from a key container.</summary>
|
|
// Token: 0x04001488 RID: 5256
|
|
Export = 32,
|
|
/// <summary>Sign a file using a key.</summary>
|
|
// Token: 0x04001489 RID: 5257
|
|
Sign = 256,
|
|
/// <summary>Decrypt a key container.</summary>
|
|
// Token: 0x0400148A RID: 5258
|
|
Decrypt = 512,
|
|
/// <summary>View the access control list (ACL) for a key container.</summary>
|
|
// Token: 0x0400148B RID: 5259
|
|
ViewAcl = 4096,
|
|
/// <summary>Change the access control list (ACL) for a key container. </summary>
|
|
// Token: 0x0400148C RID: 5260
|
|
ChangeAcl = 8192,
|
|
/// <summary>Create, decrypt, delete, and open a key container; export and import a key; sign files using a key; and view and change the access control list for a key container.</summary>
|
|
// Token: 0x0400148D RID: 5261
|
|
AllFlags = 13111
|
|
}
|
|
}
|