CryptoKeyRights Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the cryptographic key operation for which an authorization rule controls access or auditing.
This enumeration supports a bitwise combination of its member values.
public enum class CryptoKeyRights
[System.Flags]
public enum CryptoKeyRights
[<System.Flags>]
type CryptoKeyRights =
Public Enum CryptoKeyRights
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
GenericRead | -2147483648 | Read the key data, extended attributes of the key, attributes of the key, and permissions for the key. |
ReadData | 1 | Read the key data. |
WriteData | 2 | Write key data. |
ReadExtendedAttributes | 8 | Read extended attributes of the key. |
WriteExtendedAttributes | 16 | Write extended attributes of the key. |
ReadAttributes | 128 | Read attributes of the key. |
WriteAttributes | 256 | Write attributes of the key. |
Delete | 65536 | Delete the key. |
ReadPermissions | 131072 | Read permissions for the key. |
ChangePermissions | 262144 | Change permissions for the key. |
TakeOwnership | 524288 | Take ownership of the key. |
Synchronize | 1048576 | Use the key for synchronization. |
FullControl | 2032027 | Full control of the key. |
GenericAll | 268435456 | A combination of GenericRead and GenericWrite. |
GenericExecute | 536870912 | Not used. |
GenericWrite | 1073741824 | Write the key data, extended attributes of the key, attributes of the key, and permissions for the key. |