CryptoKeyAccessRule 构造函数

定义

初始化 CryptoKeyAccessRule 类的新实例。

重载

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType)

使用指定的值初始化类的新实例 CryptoKeyAccessRule

public:
 CryptoKeyAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AccessControlType type);
public CryptoKeyAccessRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.CryptoKeyAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.CryptoKeyAccessRule
Public Sub New (identity As IdentityReference, cryptoKeyRights As CryptoKeyRights, type As AccessControlType)

参数

identity
IdentityReference

访问规则应用到的标识。 此参数必须是可以强制转换为的对象 SecurityIdentifier

cryptoKeyRights
CryptoKeyRights

此访问规则控制访问权限的加密密钥操作。

type
AccessControlType

有效的访问控制类型。

适用于

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType)

使用指定的值初始化类的新实例 CryptoKeyAccessRule

public:
 CryptoKeyAccessRule(System::String ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AccessControlType type);
public CryptoKeyAccessRule(string identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AccessControlType type);
new System.Security.AccessControl.CryptoKeyAccessRule : string * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AccessControlType -> System.Security.AccessControl.CryptoKeyAccessRule
Public Sub New (identity As String, cryptoKeyRights As CryptoKeyRights, type As AccessControlType)

参数

identity
String

访问规则应用到的标识。

cryptoKeyRights
CryptoKeyRights

此访问规则控制访问权限的加密密钥操作。

type
AccessControlType

有效的访问控制类型。

适用于