Edit

Share via


KeyContainerPermissionAccessEntry.Flags Property

Definition

Gets or sets the key container permissions.

public:
 property System::Security::Permissions::KeyContainerPermissionFlags Flags { System::Security::Permissions::KeyContainerPermissionFlags get(); void set(System::Security::Permissions::KeyContainerPermissionFlags value); };
public System.Security.Permissions.KeyContainerPermissionFlags Flags { get; set; }
member this.Flags : System.Security.Permissions.KeyContainerPermissionFlags with get, set
Public Property Flags As KeyContainerPermissionFlags

Property Value

A bitwise combination of the KeyContainerPermissionFlags values. The default is NoFlags.

Remarks

Caution

Many of these flags are powerful and permit access to key containers that should only be granted to highly trusted code.

The most powerful of the flags are Create, Delete, Import, Export, Sign, Decrypt, and AllFlags. For specific threats posed by the use of these flags, see individual flag descriptions.

Applies to