Uredi

Deli z drugimi prek


CryptoKeyAccessRule Constructors

Definition

Initializes a new instance of the CryptoKeyAccessRule class.

Overloads

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType)

Initializes a new instance of the CryptoKeyAccessRule class using the specified values.

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType)

Initializes a new instance of the CryptoKeyAccessRule class using the specified values.

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType)

Initializes a new instance of the CryptoKeyAccessRule class using the specified values.

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)

Parameters

identity
IdentityReference

The identity to which the access rule applies. This parameter must be an object that can be cast as a SecurityIdentifier.

cryptoKeyRights
CryptoKeyRights

The cryptographic key operation to which this access rule controls access.

type
AccessControlType

The valid access control type.

Applies to

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType)

Initializes a new instance of the CryptoKeyAccessRule class using the specified values.

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)

Parameters

identity
String

The identity to which the access rule applies.

cryptoKeyRights
CryptoKeyRights

The cryptographic key operation to which this access rule controls access.

type
AccessControlType

The valid access control type.

Applies to