This documentation is archived and is not being maintained.

CryptoKeyRights Enumeration

Specifies the cryptographic key operation for which an authorization rule controls access or auditing.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

[FlagsAttribute]
public enum CryptoKeyRights

Member nameDescription
ReadDataRead the key data.
WriteDataWrite key data.
ReadExtendedAttributesRead extended attributes of the key.
WriteExtendedAttributesWrite extended attributes of the key.
ReadAttributesRead attributes of the key.
WriteAttributesWrite attributes of the key.
DeleteDelete the key.
ReadPermissionsRead permissions for the key.
ChangePermissionsChange permissions for the key.
TakeOwnershipTake ownership of the key.
SynchronizeUse the key for synchronization.
FullControlFull control of the key.
GenericAllA combination of GenericRead and GenericWrite.
GenericExecuteNot used.
GenericWriteWrite the key data, extended attributes of the key, attributes of the key, and permissions for the key.
GenericReadRead the key data, extended attributes of the key, attributes of the key, and permissions for the key.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: