語言

CryptoKeyAccessRule 建構函式

定義

初始化 CryptoKeyAccessRule 類別的新執行個體。

多載

名稱 Description
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

有效的存取控制類型。

適用於