CryptoKeyAccessRule 构造函数

定义

初始化 CryptoKeyAccessRule 类的新实例。

重载

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType)

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

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType)

使用指定的值初始化 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

有效的访问控制类型。

适用于