CryptoKeyAccessRule CryptoKeyAccessRule CryptoKeyAccessRule Constructors

Definition

Overloads

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType)

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

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType)

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

CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(IdentityReference, CryptoKeyRights, AccessControlType) 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

Parameters

identity
IdentityReference IdentityReference IdentityReference

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

cryptoKeyRights
CryptoKeyRights CryptoKeyRights CryptoKeyRights

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

type
AccessControlType AccessControlType AccessControlType

The valid access control type.

CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType) CryptoKeyAccessRule(String, CryptoKeyRights, AccessControlType) 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

Parameters

identity
String String String

The identity to which the access rule applies.

cryptoKeyRights
CryptoKeyRights CryptoKeyRights CryptoKeyRights

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

type
AccessControlType AccessControlType AccessControlType

The valid access control type.

Applies to