CryptoKeyRights 枚举

定义

指定授权规则控制其访问或审核的加密密钥操作。Specifies the cryptographic key operation for which an authorization rule controls access or auditing.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class CryptoKeyRights
[System.Flags]
public enum CryptoKeyRights
type CryptoKeyRights = 
Public Enum CryptoKeyRights
继承
CryptoKeyRights
属性

字段

ChangePermissions 262144

更改密钥的权限。Change permissions for the key.

Delete 65536

删除密钥。Delete the key.

FullControl 2032027

完全控制密钥。Full control of the key.

GenericAll 268435456

GenericReadGenericWrite 的组合。A combination of GenericRead and GenericWrite.

GenericExecute 536870912

未使用。Not used.

GenericRead -2147483648

读取密钥数据、密钥的扩展特性、密钥的特性和密钥的权限。Read the key data, extended attributes of the key, attributes of the key, and permissions for the key.

GenericWrite 1073741824

写入密钥数据、密钥的扩展特性、密钥的特性和密钥的权限。Write the key data, extended attributes of the key, attributes of the key, and permissions for the key.

ReadAttributes 128

读取密钥的特性。Read attributes of the key.

ReadData 1

读取密钥数据。Read the key data.

ReadExtendedAttributes 8

读取密钥的扩展特性。Read extended attributes of the key.

ReadPermissions 131072

读取密钥的权限。Read permissions for the key.

Synchronize 1048576

使用密钥进行同步。Use the key for synchronization.

TakeOwnership 524288

取得密钥的所有权。Take ownership of the key.

WriteAttributes 256

写入密钥的特性。Write attributes of the key.

WriteData 2

写入密钥数据。Write key data.

WriteExtendedAttributes 16

写入密钥的扩展特性。Write extended attributes of the key.

适用于